Commit d977e86967d329a75ca0998ca0da386dc1675c81

Authored by Xiangyin Ma
1 parent f3d4602b

Updata Atlas example following the PixelData change

Change-Id: I3e37cc6dcfddc9cfc092b6b9aa68f9d4b932b71f
examples/atlas/atlas-example.cpp
@@ -200,7 +200,7 @@ private: @@ -200,7 +200,7 @@ private:
200 return imageData; 200 return imageData;
201 } 201 }
202 202
203 - PixelDataPtr CreatePixelData( const Vector3& color, const unsigned int width, const unsigned int height ) 203 + PixelData CreatePixelData( const Vector3& color, const unsigned int width, const unsigned int height )
204 { 204 {
205 unsigned int size = width*height; 205 unsigned int size = width*height;
206 unsigned char* pixels = new unsigned char [size*3u]; 206 unsigned char* pixels = new unsigned char [size*3u];