mojoshader_opengl.c
changeset 1063 b10281d6eb45
parent 1060 4cdf5a3ceb03
child 1066 ff14db741834
--- a/mojoshader_opengl.c	Tue Oct 25 02:24:45 2011 -0400
+++ b/mojoshader_opengl.c	Tue Oct 25 12:01:34 2011 -0400
@@ -1429,7 +1429,7 @@
 
         if (largest > 0)
         {
-            const size_t len = largest * sizeof (GLfloat);
+            const size_t len = largest * sizeof (GLfloat) * 4;
             GLfloat *buf = (GLfloat *) Malloc(len);
             if (buf == NULL)
                 return 0;