Permalink
Browse files

Revert "Fix depth mask if blending a diffuseMap instead of a colorMap."

This reverts commit da260d4.
  • Loading branch information...
DolceTriade committed Mar 7, 2016
1 parent da260d4 commit 21a769a7343b3f65c8a5c0e5b71fc5ab79213085
Showing with 1 addition and 3 deletions.
  1. +1 −3 daemon/src/engine/renderer/tr_shader.cpp
@@ -1950,9 +1950,7 @@ static bool ParseStage( shaderStage_t *stage, const char **text )
}
// clear depth mask for blended surfaces
if ( !depthMaskExplicit &&
(stage->type == stageType_t::ST_COLORMAP ||
stage->type == stageType_t::ST_DIFFUSEMAP) )
if ( !depthMaskExplicit && stage->type == stageType_t::ST_COLORMAP )
{
depthMaskBits = 0;
}

0 comments on commit 21a769a

Please sign in to comment.