diff options
author | Tim Angus <tim@ngus.net> | 2007-03-21 23:55:51 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-03-21 23:55:51 +0000 |
commit | d899c25c571ed061bba9725cf7b35d492cc6e518 (patch) | |
tree | 25268c9b3e381d00c2885c1fec7a54f46f56d93b /src/renderer/tr_shader.c | |
parent | cb5b4648d45b3f078a6ae3da45707764ca46e241 (diff) |
* ioq3-r1052 merge
Diffstat (limited to 'src/renderer/tr_shader.c')
-rw-r--r-- | src/renderer/tr_shader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/tr_shader.c b/src/renderer/tr_shader.c index 0e4504ef..10223a5c 100644 --- a/src/renderer/tr_shader.c +++ b/src/renderer/tr_shader.c @@ -2283,9 +2283,8 @@ static shader_t *FinishShader( void ) { shader.numUnfoggedPasses = stage; // fogonly shaders don't have any normal passes - if ( stage == 0 ) { + if (stage == 0 && !shader.isSky) shader.sort = SS_FOG; - } // determine which stage iterator function is appropriate ComputeStageIteratorFunc(); |