From: havoc Date: Wed, 14 Jul 2010 10:14:07 +0000 (+0000) Subject: fix a mingw warning X-Git-Tag: xonotic-v0.1.0preview~230^2~154 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fffe0ca6036ab33e870ff082e3d5dd7ad0ae17d7;p=xonotic%2Fdarkplaces.git fix a mingw warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10324 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index ec0b84ef..b4b04085 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -2556,6 +2556,11 @@ qboolean R_Shadow_ScissorForBBox(const float *mins, const float *maxs) case RENDERPATH_D3D11: r_shadow_lightscissor[1] = vid.height - r_shadow_lightscissor[1] - r_shadow_lightscissor[3]; break; + case RENDERPATH_GL11: + case RENDERPATH_GL13: + case RENDERPATH_GL20: + case RENDERPATH_CGGL: + break; } r_refdef.stats.lights_scissored++;