Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/test_render/viewer.cpp @ 205:efb1df3176f4
fix
author | gongo@localhost.localdomain |
---|---|
date | Tue, 27 Jan 2009 18:21:12 +0900 |
parents | 3c632793eaf8 |
children | 204b03ca98f8 |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewer.cpp Mon Jan 26 18:34:30 2009 +0900 +++ b/TaskManager/Test/test_render/viewer.cpp Tue Jan 27 18:21:12 2009 +0900 @@ -332,7 +332,7 @@ // Draw Background (現在は塗りつぶし) task_draw = manager->create_task(TASK_DRAW_BACK); task_draw->add_param(0xffffffff); - + for (int k = 0; k < rangey; k++) { task_draw->add_outData( &pixels[(startx-1)+this->width*(k+starty-1)], @@ -340,7 +340,7 @@ } #else memset(&pixels[(startx-1)+this->width*(starty-1)], - 0x00, (this->width)*sizeof(int)*rangey); + 0xFF, (this->width)*sizeof(int)*rangey); break; #endif }