projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates following rename of PropertyBuffer to VertexBuffer
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
primitive
/
primitive-visual.cpp
diff --git
a/dali-toolkit/internal/visuals/primitive/primitive-visual.cpp
b/dali-toolkit/internal/visuals/primitive/primitive-visual.cpp
index
449deb7
..
21c9064
100644
(file)
--- a/
dali-toolkit/internal/visuals/primitive/primitive-visual.cpp
+++ b/
dali-toolkit/internal/visuals/primitive/primitive-visual.cpp
@@
-536,7
+536,7
@@
void PrimitiveVisual::CreateGeometry()
Property::Map vertexFormat;
vertexFormat[POSITION] = Property::VECTOR3;
vertexFormat[NORMAL] = Property::VECTOR3;
Property::Map vertexFormat;
vertexFormat[POSITION] = Property::VECTOR3;
vertexFormat[NORMAL] = Property::VECTOR3;
-
PropertyBuffer surfaceVertices = Property
Buffer::New( vertexFormat );
+
VertexBuffer surfaceVertices = Vertex
Buffer::New( vertexFormat );
surfaceVertices.SetData( &vertices[0], vertices.Size() );
mGeometry.AddVertexBuffer( surfaceVertices );
surfaceVertices.SetData( &vertices[0], vertices.Size() );
mGeometry.AddVertexBuffer( surfaceVertices );