From: eihrul Date: Thu, 18 Apr 2013 17:30:25 +0000 (+0000) Subject: OPENGL_ORIENTATION -> MATRIX4x4_OPENGLORIENTATION X-Git-Tag: xonotic-v0.7.0~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c9cdc8043986e3d57dc10fbdd19e221a1b7aefba;p=xonotic%2Fdarkplaces.git OPENGL_ORIENTATION -> MATRIX4x4_OPENGLORIENTATION git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11944 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=cf6a3c352f94742ae2a5410299504e4a036e4761 --- diff --git a/r_shadow.c b/r_shadow.c index 6fe3e0e9..0c0b7722 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -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;