[iortcw] 31/152: SP: Disable VertexLightingCollapse like in MP

Simon McVittie smcv at debian.org
Fri Sep 8 10:39:53 UTC 2017


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

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 0bd69d38a17b24900256c83b13a1f62cc27f2e9a
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Wed Feb 3 19:28:29 2016 -0500

    SP: Disable VertexLightingCollapse like in MP
---
 SP/code/rend2/tr_shader.c    | 2 +-
 SP/code/renderer/tr_shader.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SP/code/rend2/tr_shader.c b/SP/code/rend2/tr_shader.c
index c8dd37f..f593fdc 100644
--- a/SP/code/rend2/tr_shader.c
+++ b/SP/code/rend2/tr_shader.c
@@ -3111,7 +3111,7 @@ static shader_t *FinishShader( void ) {
 	//
 	// if we are in r_vertexLight mode, never use a lightmap texture
 	//
-	if ( stage > 1 && ( ( r_vertexLight->integer && !r_uiFullScreen->integer ) || glConfig.hardwareType == GLHW_PERMEDIA2 ) ) {
+	if ( 0 && ( stage > 1 && ( ( r_vertexLight->integer && !r_uiFullScreen->integer ) || glConfig.hardwareType == GLHW_PERMEDIA2 ) ) ) {
 		VertexLightingCollapse();
 		hasLightmapStage = qfalse;
 	}
diff --git a/SP/code/renderer/tr_shader.c b/SP/code/renderer/tr_shader.c
index 6392f17..d205e19 100644
--- a/SP/code/renderer/tr_shader.c
+++ b/SP/code/renderer/tr_shader.c
@@ -2410,7 +2410,7 @@ static shader_t *FinishShader( void ) {
 	//
 	// if we are in r_vertexLight mode, never use a lightmap texture
 	//
-	if ( stage > 1 && ( ( r_vertexLight->integer && !r_uiFullScreen->integer ) || glConfig.hardwareType == GLHW_PERMEDIA2 ) ) {
+	if ( 0 && ( stage > 1 && ( ( r_vertexLight->integer && !r_uiFullScreen->integer ) || glConfig.hardwareType == GLHW_PERMEDIA2 ) ) ) {
 		VertexLightingCollapse();
 		stage = 1;
 		hasLightmapStage = qfalse;

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



More information about the Pkg-games-commits mailing list