From bf4a20155bea74659cca76d04f2a58823dec793f Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 5 Feb 2011 13:29:09 +0000 Subject: [PATCH] correctly copy in all of quadelement3s to quadelement3i git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10807 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_backend.c b/gl_backend.c index 310f4fae..ae7cc27b 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -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); -- 2.39.2