m3g/m3gcore11/src/m3g_indexbuffer.c
branchRCL_3
changeset 18 5e30ef2e26cb
parent 0 5d03bc08d59c
--- a/m3g/m3gcore11/src/m3g_indexbuffer.c	Sat Feb 20 00:07:50 2010 +0200
+++ b/m3g/m3gcore11/src/m3g_indexbuffer.c	Fri Mar 12 15:50:05 2010 +0200
@@ -483,7 +483,7 @@
                                    M3Gint *indices)
 {
     M3Gint i, j, tri = 0;
-    M3Gint triIndices[4];
+    M3Gint triIndices[4] = {0, 0, 0, 0};
     M3G_VALIDATE_OBJECT(buffer);
     M3G_UNREF(batchIndex);