OPENGL_ORIENTATION -> MATRIX4x4_OPENGLORIENTATION
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Apr 2013 17:30:25 +0000 (17:30 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Apr 2013 17:30:25 +0000 (17:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11944 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 6fe3e0e..0c0b772 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;