This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 09a23e04177202d197348104e1991f0bd622045a
Author: Zack Middleton <z...@cloemail.com>
Date:   Thu Jun 29 21:34:39 2017 -0500

    OpenGL2: Fix checking r_shadowCascadeZFar pointer instead of value
---
 code/renderergl2/tr_scene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/renderergl2/tr_scene.c b/code/renderergl2/tr_scene.c
index 2d039e7..e336978 100644
--- a/code/renderergl2/tr_scene.c
+++ b/code/renderergl2/tr_scene.c
@@ -491,7 +491,7 @@ void RE_RenderScene( const refdef_t *fd ) {
        // playing with even more shadows
        if(glRefConfig.framebufferObject && r_sunlightMode->integer && !( 
fd->rdflags & RDF_NOWORLDMODEL ) && (r_forceSun->integer || tr.sunShadows))
        {
-               if (r_shadowCascadeZFar != 0)
+               if (r_shadowCascadeZFar->integer != 0)
                {
                        R_RenderSunShadowMaps(fd, 0);
                        R_RenderSunShadowMaps(fd, 1);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to