Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / point-mesh / point-mesh-example.cpp
index 16ce8c0..312a07b 100644 (file)
@@ -98,7 +98,7 @@ Geometry CreateGeometry()
   Property::Map polyhedraVertexFormat;
   polyhedraVertexFormat["aPosition"] = Property::VECTOR2;
   polyhedraVertexFormat["aHue"] = Property::FLOAT;
-  VertexBuffer polyhedraVertices = VertexBuffer::New( polyhedraVertexFormat );
+  PropertyBuffer polyhedraVertices = PropertyBuffer::New( polyhedraVertexFormat );
   polyhedraVertices.SetData( polyhedraVertexData, numSides );
 
   // Create the geometry object
@@ -203,7 +203,7 @@ public:
 
   void OnKeyEvent(const KeyEvent& event)
   {
-    if(event.GetState() == KeyEvent::Down)
+    if(event.state == KeyEvent::Down)
     {
       if( IsKey( event, Dali::DALI_KEY_ESCAPE) || IsKey( event, Dali::DALI_KEY_BACK) )
       {