projects
/
platform
/
core
/
uifw
/
dali-demo.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
[platform/core/uifw/dali-demo.git]
/
examples
/
renderer-stencil
/
renderer-stencil-example.cpp
diff --git
a/examples/renderer-stencil/renderer-stencil-example.cpp
b/examples/renderer-stencil/renderer-stencil-example.cpp
index
ed1b0ab
..
d159f61
100644
(file)
--- a/
examples/renderer-stencil/renderer-stencil-example.cpp
+++ b/
examples/renderer-stencil/renderer-stencil-example.cpp
@@
-460,7
+460,7
@@
private:
vertexFormat[NORMAL] = Property::VECTOR3;
vertexFormat[TEXTURE] = Property::VECTOR2;
vertexFormat[NORMAL] = Property::VECTOR3;
vertexFormat[TEXTURE] = Property::VECTOR2;
-
PropertyBuffer surfaceVertices = Property
Buffer::New( vertexFormat );
+
VertexBuffer surfaceVertices = Vertex
Buffer::New( vertexFormat );
surfaceVertices.SetData( &vertices[0u], vertices.Size() );
Geometry geometry = Geometry::New();
surfaceVertices.SetData( &vertices[0u], vertices.Size() );
Geometry geometry = Geometry::New();
@@
-731,7
+731,7
@@
private:
*/
void OnKeyEvent( const KeyEvent& event )
{
*/
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 ) )
{
{
if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{