Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a dumb regression from revision 4925a28.
  • Loading branch information
neobrain committed Jan 19, 2013
1 parent 37af25e commit 6c0f6ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Expand Up @@ -158,10 +158,11 @@ void GetPixelShaderId(PIXELSHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 compo

if (dstAlphaMode != DSTALPHA_ALPHA_PASS)
{
ptr[0] |= bpmem.fog.c_proj_fsel.fsel << 13; // 3
if (bpmem.fog.c_proj_fsel.fsel != 0)
{
ptr[0] |= bpmem.fog.c_proj_fsel.proj << 13; // 1
ptr[0] |= bpmem.fogRange.Base.Enabled << 14; // 1
ptr[0] |= bpmem.fog.c_proj_fsel.proj << 16; // 1
ptr[0] |= bpmem.fogRange.Base.Enabled << 17; // 1
}
}

Expand Down

0 comments on commit 6c0f6ff

Please sign in to comment.