changeset 36 | 01a6848ebfd7 |
parent 0 | 5d03bc08d59c |
--- a/m3g/m3gcore11/src/m3g_indexbuffer.c Tue Feb 02 01:47:50 2010 +0200 +++ b/m3g/m3gcore11/src/m3g_indexbuffer.c Fri Apr 16 16:21:04 2010 +0300 @@ -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);