diff Renderer/Engine/polygon.h @ 1142:801d57ae1e29 draft

cut compile CreatePolygonTask on spe side because not enough spe memory. We have to use code loading. And I found light error. see you tomorrow. (This version can work Mac OSX and Cell arch.)
author yutaka@localhost.localdomain
date Thu, 17 Feb 2011 05:23:34 +0900
parents bb17a03bab60
children b8adf4e95e96
line wrap: on
line diff
--- a/Renderer/Engine/polygon.h	Thu Feb 17 20:28:26 2011 +0900
+++ b/Renderer/Engine/polygon.h	Thu Feb 17 05:23:34 2011 +0900
@@ -49,6 +49,8 @@
 #else
 	posix_memalign(&buff, DEFAULT_ALIGNMENT, size);
 #endif
+	if (buff==0) 
+	  printf("Polygon:Can't allocate memory\n");
 	return buff;
 
       }