diff TaskManager/Test/simple_render/viewer.cpp @ 92:663bc2a213f5

*** empty log message ***
author gongo
date Thu, 28 Feb 2008 10:45:40 +0900
parents a309cf4eafc5
children 588ab5f0e659
line wrap: on
line diff
--- a/TaskManager/Test/simple_render/viewer.cpp	Wed Feb 27 21:19:13 2008 +0900
+++ b/TaskManager/Test/simple_render/viewer.cpp	Thu Feb 28 10:45:40 2008 +0900
@@ -343,8 +343,8 @@
 	= manager->create_task(fd_create_pp, sizeof(SceneGraphPack),
 			       (uint32)sgp, (uint32)pp, NULL);
     task_create_sp 
- 	= manager->create_task(fd_create_sp, sizeof(SceneGraphPack),
-			       (uint32)pp, (uint32)ssl, NULL);
+ 	= manager->create_task(fd_create_sp, sizeof(PolygonPack),
+			       (uint32)pp, 0, NULL);
 #endif
 
 #if 0
@@ -381,8 +381,8 @@
  */
 
 //#define DRAW_POLYGON
-#define DRAW_SPANPACK
-//#define DRAW_SPUSPAN
+//#define DRAW_SPANPACK
+#define DRAW_SPUSPAN
 void
 Viewer::run_draw(void)
 {
@@ -419,6 +419,7 @@
     polygon->draw(&ssl->ss[5]);
 #  endif
 #endif
+
     SDL_BlitSurface(bitmap, NULL, screen, NULL);
     SDL_UpdateRect(screen, 0, 0, 0, 0);