From d6d4fede034731624220747d2c1812bd30cfaf7f Mon Sep 17 00:00:00 2001 From: Kimmo Hoikka Date: Wed, 8 Jul 2015 15:40:55 +0100 Subject: [PATCH] Remove UNSIGNED_INTEGER property type (removed from core) --- examples/line-mesh/line-mesh-example.cpp | 2 +- examples/mesh-sorting/mesh-sorting-example.cpp | 2 +- examples/new-window/new-window-example.cpp | 2 +- examples/radial-menu/radial-sweep-view-impl.cpp | 2 +- examples/textured-mesh/textured-mesh-example.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/line-mesh/line-mesh-example.cpp b/examples/line-mesh/line-mesh-example.cpp index 642441d..6388956 100644 --- a/examples/line-mesh/line-mesh-example.cpp +++ b/examples/line-mesh/line-mesh-example.cpp @@ -93,7 +93,7 @@ Geometry CreateGeometry() // Create indices unsigned int indexData[10] = { 0, 1, 1, 2, 2, 3, 3, 4, 4, 0 }; Property::Map indexFormat; - indexFormat["indices"] = Property::UNSIGNED_INTEGER; + indexFormat["indices"] = Property::INTEGER; PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); indices.SetData(indexData); diff --git a/examples/mesh-sorting/mesh-sorting-example.cpp b/examples/mesh-sorting/mesh-sorting-example.cpp index 248a4c3..39b26e4 100644 --- a/examples/mesh-sorting/mesh-sorting-example.cpp +++ b/examples/mesh-sorting/mesh-sorting-example.cpp @@ -104,7 +104,7 @@ Geometry CreateGeometry() // Create indices unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; Property::Map indexFormat; - indexFormat["indices"] = Property::UNSIGNED_INTEGER; + indexFormat["indices"] = Property::INTEGER; PropertyBuffer indices = PropertyBuffer::New( indexFormat, 6 ); indices.SetData(indexData); diff --git a/examples/new-window/new-window-example.cpp b/examples/new-window/new-window-example.cpp index 889e038..a8d6e0b 100644 --- a/examples/new-window/new-window-example.cpp +++ b/examples/new-window/new-window-example.cpp @@ -441,7 +441,7 @@ Geometry NewWindowController::CreateMeshGeometry() // Specify all the faces unsigned int indexData[12] = { 0,1,3,0,2,4,0,3,4,0,2,1 }; Property::Map indexFormat; - indexFormat["indices"] = Property::UNSIGNED_INTEGER; + indexFormat["indices"] = Property::INTEGER; PropertyBuffer indices = PropertyBuffer::New( indexFormat, 12 ); indices.SetData( indexData ); diff --git a/examples/radial-menu/radial-sweep-view-impl.cpp b/examples/radial-menu/radial-sweep-view-impl.cpp index 85dbc47..9c791c7 100644 --- a/examples/radial-menu/radial-sweep-view-impl.cpp +++ b/examples/radial-menu/radial-sweep-view-impl.cpp @@ -336,7 +336,7 @@ void RadialSweepViewImpl::CreateStencil( Radian initialSector ) unsigned int indexData[15] = { 0,1,2,0,2,3,0,3,4,0,4,5,0,5,6 }; Property::Map indexFormat; - indexFormat["indices"] = Property::UNSIGNED_INTEGER; + indexFormat["indices"] = Property::INTEGER; PropertyBuffer indices = PropertyBuffer::New( indexFormat, 15u ); indices.SetData( indexData ); diff --git a/examples/textured-mesh/textured-mesh-example.cpp b/examples/textured-mesh/textured-mesh-example.cpp index 04b3e7b..3b65701 100644 --- a/examples/textured-mesh/textured-mesh-example.cpp +++ b/examples/textured-mesh/textured-mesh-example.cpp @@ -81,7 +81,7 @@ Geometry CreateGeometry() // Create indices unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; Property::Map indexFormat; - indexFormat["indices"] = Property::UNSIGNED_INTEGER; + indexFormat["indices"] = Property::INTEGER; PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); indices.SetData(indexData); -- libgit2 0.21.4