diff options
| author | omegadox <omegadox@gmail.com> | 2009-02-21 02:42:35 +0000 |
|---|---|---|
| committer | omegadox <omegadox@gmail.com> | 2009-02-21 02:42:35 +0000 |
| commit | 228652b0709bcf7cd39ac447dee2f08ae4d05c48 (patch) | |
| tree | d976ceabb9ec190fa6ab4d0fb04d3b5c39e4b210 /Source/Core/VideoCommon/Src/PixelShaderGen.cpp | |
| parent | e6ca85c059a2383c30ef99b19d58aa35c6d324fb (diff) | |
Some cleanup in OGL plugin and VideoCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2329 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 317131395d..efe979af24 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -945,7 +945,7 @@ static bool WriteAlphaTest(char *&p) static void WriteFog(char *&p) { - bool enabled = bpmem.fog.c_proj_fsel.fsel; + bool enabled = bpmem.fog.c_proj_fsel.fsel == 0 ? false : true; if (enabled) { if (bpmem.fog.c_proj_fsel.proj == 0) { |
