Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / ray-marching / ray-marching-example.cpp
index 249ae85..0660bec 100644 (file)
@@ -149,7 +149,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) )
       {
@@ -168,7 +168,7 @@ public:
 
     Property::Map vertexFormat;
     vertexFormat["aPosition"] = Property::VECTOR2;
-    VertexBuffer vertexBuffer = VertexBuffer::New( vertexFormat );
+    PropertyBuffer vertexBuffer = PropertyBuffer::New( vertexFormat );
 
     const float P( 0.5f );
     const Vector2 vertices[] = {