diff Renderer/Engine/task/DataAllocate.cc @ 988:0b6f8c82625a akira

fix for double buffer
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:48:39 +0900
parents ac437c3cf766
children 1b018a00cd17
line wrap: on
line diff
--- a/Renderer/Engine/task/DataAllocate.cc	Sat Oct 02 03:19:33 2010 +0900
+++ b/Renderer/Engine/task/DataAllocate.cc	Sat Oct 02 03:48:39 2010 +0900
@@ -10,7 +10,7 @@
 run(SchedTask *s, void *rbuf, void *wbuf)
 {
 
-  int count = (int)s->get_input(rbuf, 0);
+  int count = (int)s->get_param(0);
   for(int i=0;i<count;i++) {
       void *idata = s->get_input(rbuf, i);
       long size = (long)s->get_param(i*2+1);