]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
OPENGL_ORIENTATION -> MATRIX4x4_OPENGLORIENTATION
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Apr 2013 17:30:25 +0000 (17:30 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 19 Apr 2013 09:39:32 +0000 (11:39 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11944 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=cf6a3c352f94742ae2a5410299504e4a036e4761

r_shadow.c

index 6fe3e0e934a32e5e8c289e956eea6793ab2a35bc..0c0b7722fb3e15ba5226425e642c51be2285ccca 100644 (file)
@@ -4923,7 +4923,7 @@ void R_DrawModelShadowMaps(int fbo, rtexture_t *depthtexture, rtexture_t *colort
        case RENDERPATH_D3D9:
        case RENDERPATH_D3D10:
        case RENDERPATH_D3D11:
-#ifdef OPENGL_ORIENTATION
+#ifdef MATRIX4x4_OPENGLORIENTATION
                r_shadow_shadowmapmatrix.m[0][0]        *= -1.0f;
                r_shadow_shadowmapmatrix.m[0][1]        *= -1.0f;
                r_shadow_shadowmapmatrix.m[0][2]        *= -1.0f;