Fixing a warning

This commit is contained in:
Richard Allen 2012-10-17 21:24:43 +00:00
parent 37d3b05a85
commit 527e138381

View file

@ -1322,7 +1322,7 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
for ( stage2 = stage + 1; stage2 < MAX_SHADER_STAGES; stage2++ ) for ( stage2 = stage + 1; stage2 < MAX_SHADER_STAGES; stage2++ )
{ {
shaderStage_t *pStage2 = input->xstages[stage2]; shaderStage_t *pStage2 = input->xstages[stage2];
unsigned int srcBlendBits, dstBlendBits; unsigned int srcBlendBits; //, dstBlendBits;
if ( !pStage2 ) if ( !pStage2 )
{ {
@ -1330,7 +1330,7 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
} }
srcBlendBits = pStage2->stateBits & GLS_SRCBLEND_BITS; srcBlendBits = pStage2->stateBits & GLS_SRCBLEND_BITS;
dstBlendBits = pStage2->stateBits & GLS_DSTBLEND_BITS; // dstBlendBits = pStage2->stateBits & GLS_DSTBLEND_BITS;
if (srcBlendBits == GLS_SRCBLEND_DST_COLOR) if (srcBlendBits == GLS_SRCBLEND_DST_COLOR)
{ {