]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a mingw warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 14 Jul 2010 10:14:07 +0000 (10:14 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 14 Jul 2010 10:14:07 +0000 (10:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10324 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index ec0b84ef60103c9d449dec940822abc8316bc325..b4b04085543c20ae3b615b9929f168194ff1b768 100644 (file)
@@ -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++;