mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-26 14:01:02 +00:00
fixed the R_AddWorldSurface optimization so it won't remove the sky
This commit is contained in:
parent
70ba2e7939
commit
180a0187b7
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ static void R_AddWorldSurface( msurface_t* surf )
|
|||
|
||||
// surfaces that don't ever draw anything are not considered visible
|
||||
if ( surf->shader->numStages == 0 &&
|
||||
surf->shader->sort > SS_ENVIRONMENT &&
|
||||
( surf->shader->fogPass == FP_NONE || surf->fogIndex == 0 ) )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue