Mercurial > hg > Game > Cerium
changeset 37:cd0b54a564a9
*** empty log message ***
author | gongo |
---|---|
date | Tue, 12 Feb 2008 19:43:34 +0900 |
parents | 650e46810d04 |
children | babf9a330418 |
files | TaskManager/Test/simple_render/viewer.cpp |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Test/simple_render/viewer.cpp Tue Feb 12 19:26:36 2008 +0900 +++ b/TaskManager/Test/simple_render/viewer.cpp Tue Feb 12 19:43:34 2008 +0900 @@ -408,7 +408,7 @@ //p->tree_draw(); #endif -#if 1 +#if 0 update_sgp(sgp, sgp); create_pp(pp, sgp); #else @@ -436,14 +436,13 @@ p->draw(pp); // test draw of PolygonPack // 一回のみ生成で、その後は再利用 - /* - bitmap = SDL_CreateRGBSurfaceFrom((void *)pixels, width, height, 32, - width*4, redMask, greenMask, - blueMask, alphaMask); - */ + //bitmap = SDL_CreateRGBSurfaceFrom((void *)pixels, width, height, 32, + //width*4, redMask, greenMask, + //blueMask, alphaMask); + //SDL_FillRect(screen, NULL, background); SDL_BlitSurface(bitmap, NULL, screen, NULL); - SDL_UpdateRect(screen, 0, 0, 0, 0); + //SDL_UpdateRect(screen, 0, 0, 0, 0); /////////////////////