diff --git a/engine/gl/gl_backend.c b/engine/gl/gl_backend.c index 542a6f55e..60cb01038 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);