mojoshader_opengl.c
branchtrunk
changeset 440 2af2cb164c2e
parent 438 73492129c1af
child 441 b33b1492d929
--- a/mojoshader_opengl.c	Thu Jul 31 17:57:00 2008 -0400
+++ b/mojoshader_opengl.c	Thu Jul 31 19:05:57 2008 -0400
@@ -1232,7 +1232,7 @@
         map->uniform_array_buffer = (GLfloat *) Malloc(len);
         if (map->uniform_array_buffer == NULL)
             return 0;
-        memset(map->uniform_array_buffer, 0xFF, len);
+        memset(map->uniform_array_buffer, 0, len);
     } // for
 
     return 1;