diff TaskManager/Test/test_render/viewer.cpp @ 126:74d0a70f60e9 draft

fix RGBA mask (bgr -> rgba)
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 25 Nov 2008 11:37:57 +0900
parents e9e12e2088bd
children 95e2046eb46f
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewer.cpp	Tue Nov 25 10:38:44 2008 +0900
+++ b/TaskManager/Test/test_render/viewer.cpp	Tue Nov 25 11:37:57 2008 +0900
@@ -107,6 +107,10 @@
 	spackList_ptr[i] = &spackList[i];
     }
 
+    for (int i = 1; i <= spackList_length; i++) {
+	spackList[i-1].init(i*split_screen_h);
+    }
+
     task_next = manager->create_task(TASK_DUMMY);
     task_next->set_post(&post2runLoop, NULL);
 
@@ -180,7 +184,7 @@
     clean_pixels();
 
     for (int i = 1; i <= spackList_length; i++) {
-	spackList[i-1].init(i*split_screen_h);
+	spackList[i-1].reinit(i*split_screen_h);
     }
 
     task_next = manager->create_task(TASK_DUMMY);