aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer/tr_shader.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/renderer/tr_shader.c')
-rw-r--r--code/renderer/tr_shader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/renderer/tr_shader.c b/code/renderer/tr_shader.c
index a489459..dc5b7d7 100644
--- a/code/renderer/tr_shader.c
+++ b/code/renderer/tr_shader.c
@@ -3018,7 +3018,10 @@ static void CreateExternalShaders( void ) {
int index;
for(index = 0; index < tr.flareShader->numUnfoggedPasses; index++)
+ {
tr.flareShader->stages[index]->adjustColorsForFog = ACFF_NONE;
+ tr.flareShader->stages[index]->stateBits |= GLS_DEPTHTEST_DISABLE;
+ }
}
tr.sunShader = R_FindShader( "sun", LIGHTMAP_NONE, qtrue );