]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
correctly copy in all of quadelement3s to quadelement3i
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Feb 2011 13:29:09 +0000 (13:29 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Feb 2011 13:29:09 +0000 (13:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10807 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index 310f4fae5cc929e6ed0b5f30312ec5b115d1c6b5..ae7cc27b3ba6b0342f139296207308949be8c460 100644 (file)
@@ -496,7 +496,7 @@ void gl_backend_init(void)
 
        for (i = 0;i < (POLYGONELEMENTS_MAXPOINTS - 2)*3;i++)
                polygonelement3i[i] = polygonelement3s[i];
-       for (i = 0;i < QUADELEMENTS_MAXQUADS*3;i++)
+       for (i = 0;i < QUADELEMENTS_MAXQUADS*6;i++)
                quadelement3i[i] = quadelement3s[i];
 
        Cvar_RegisterVariable(&r_render);