mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 00:24:29 +00:00
Fixing a warning
This commit is contained in:
parent
37d3b05a85
commit
527e138381
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue