diff Renderer/Engine/viewer.cc @ 861:000a8b63ad9a

Still on the way
author yutaka@localhost.localdomain
date Fri, 18 Jun 2010 16:07:12 +0900
parents 649e4cb84683
children d0273488f50c
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc	Fri Jun 18 01:30:06 2010 +0900
+++ b/Renderer/Engine/viewer.cc	Fri Jun 18 16:07:12 2010 +0900
@@ -436,6 +436,8 @@
     frames++;
 }
 
+#if SPE_CREATE_POLYGON
+
 void
 Viewer::create_pp_task(SceneGraphPtr sg, PolygonPackPtr pp_cur, HTaskPtr create_pp_wait,
 		       int &pp_index, int &sg_index, int tri_num) 
@@ -455,6 +457,7 @@
     sg_index += tri_num;
 }
 
+#endif
 
 void
 Viewer::common_rendering(HTaskPtr task_next, SceneGraphRoot *sgroot)