Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / rendering-cube / rendering-cube.cpp
index 53e4d1a..9b4260f 100644 (file)
@@ -120,7 +120,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 ) )
       {
@@ -187,7 +187,7 @@ public:
       { Vector3( -1.0f, 1.0f, 1.0f ), COLOR2 },
     };
 
-    VertexBuffer vertexBuffer = VertexBuffer::New( Property::Map()
+    PropertyBuffer vertexBuffer = PropertyBuffer::New( Property::Map()
                                                        .Add( "aPosition", Property::VECTOR3 )
                                                        .Add( "aColor", Property::VECTOR3 ) );
     vertexBuffer.SetData( vertices, sizeof(vertices) / sizeof(Vertex) );