[ioquake3] 14/59: OpenGL2: Let unlit materials use parallax maps.

Simon McVittie smcv at debian.org
Wed Sep 21 19:56:59 UTC 2016


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

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

commit 29ac1171544bdbb5c61956f672753e7059c62a35
Author: SmileTheory <SmileTheory at gmail.com>
Date:   Fri Jul 29 01:53:50 2016 -0700

    OpenGL2: Let unlit materials use parallax maps.
---
 code/renderergl2/tr_glsl.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/code/renderergl2/tr_glsl.c b/code/renderergl2/tr_glsl.c
index 50770da..d2bfbda 100644
--- a/code/renderergl2/tr_glsl.c
+++ b/code/renderergl2/tr_glsl.c
@@ -1004,9 +1004,6 @@ void GLSL_InitGPUShaders(void)
 		if ((i & LIGHTDEF_USE_PARALLAXMAP) && !r_parallaxMapping->integer)
 			continue;
 
-		if (!lightType && (i & LIGHTDEF_USE_PARALLAXMAP))
-			continue;
-
 		if (!lightType && (i & LIGHTDEF_USE_SHADOWMAP))
 			continue;
 

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



More information about the Pkg-games-commits mailing list