Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/simple_render/test/LoadTexture/polygon.cpp @ 96:32be65e25785
*** empty log message ***
author | akira |
---|---|
date | Thu, 28 Feb 2008 20:05:23 +0900 |
parents | 312b535f121e |
children | 58fd16298954 |
line wrap: on
line diff
--- a/TaskManager/Test/simple_render/test/LoadTexture/polygon.cpp Thu Feb 28 18:04:06 2008 +0900 +++ b/TaskManager/Test/simple_render/test/LoadTexture/polygon.cpp Thu Feb 28 20:05:23 2008 +0900 @@ -19,7 +19,7 @@ extern int decode(char *cont, FILE *outfile); -#define LOAD_TEXTURE_SIZE 128*128*3/4 +#define LOAD_TEXTURE_SIZE 128*128*3 void Polygon::set_data(char *file_name) { @@ -96,7 +96,6 @@ //void *_pixels = new Uint32[width*height*32/8]; void *_pixels; - SDL_Surface *screen; posix_memalign((void**)&_pixels, 16, 3*128*128); memcpy(_pixels, texture_image->pixels, 3*128*128);