[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11254] branches/soc-2007-maike/source/ blender/include/BIF_glsl_node_util.h: Mac GLuint type bug correction
Miguel Torres Lima
torreslima at gmail.com
Thu Jul 12 20:23:26 CEST 2007
Revision: 11254
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11254
Author: maike
Date: 2007-07-12 20:23:26 +0200 (Thu, 12 Jul 2007)
Log Message:
-----------
Mac GLuint type bug correction
Modified Paths:
--------------
branches/soc-2007-maike/source/blender/include/BIF_glsl_node_util.h
Modified: branches/soc-2007-maike/source/blender/include/BIF_glsl_node_util.h
===================================================================
--- branches/soc-2007-maike/source/blender/include/BIF_glsl_node_util.h 2007-07-12 18:17:53 UTC (rev 11253)
+++ branches/soc-2007-maike/source/blender/include/BIF_glsl_node_util.h 2007-07-12 18:23:26 UTC (rev 11254)
@@ -7,8 +7,13 @@
int glsl_shader_code(struct GLSL_MaterialTree_ *tree, struct GLSL_Program_ *program, short type);
+#ifdef __APPLE__
+unsigned long glsl_vertex_code(struct GLSL_MaterialTree_ *tree);
+unsigned long glsl_fragment_code(struct GLSL_MaterialTree_ *tree);
+#else
unsigned int glsl_vertex_code(struct GLSL_MaterialTree_ *tree);
unsigned int glsl_fragment_code(struct GLSL_MaterialTree_ *tree);
+#endif
char *glsl_declare_lightstruct(int num);
More information about the Bf-blender-cvs
mailing list