From 2d5cd2ca112415fa692466aa3777a2d4afcd8e0f Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 11 Aug 2010 09:30:16 +0000 Subject: [PATCH] kill a warning with MINIMAL git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3575 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_backend.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/gl/gl_backend.c b/engine/gl/gl_backend.c index 542a6f55..60cb0103 100644 --- a/engine/gl/gl_backend.c +++ b/engine/gl/gl_backend.c @@ -2407,7 +2407,10 @@ void BE_PolyOffset(qboolean pushdepth) static void DrawMeshes(void) { const shaderpass_t *p; - int passno,perm; + int passno; +#ifdef RTLIGHTS + int perm; +#endif passno = 0; GL_SelectEBO(shaderstate.sourcevbo->vboe);