diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 871b64f3a6..1a6a6ccd08 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -914,7 +914,9 @@ static void WriteFog(char *&p) } switch (bpmem.fog.c_proj_fsel.fsel) - { + { + case 0: // TODO - No fog? + break; case 2: // linear // empty break; @@ -932,7 +934,7 @@ static void WriteFog(char *&p) WRITE(p, " fog = 1.0f - fog;\n"); WRITE(p, " fog = pow(2, -8.0f * fog * fog);\n"); break; - default: PanicAlert("Unknown Fog Type! %08x", bpmem.fog.c_proj_fsel.fsel); + default: WARN_LOG(VIDEO, "Unknown Fog Type! %08x", bpmem.fog.c_proj_fsel.fsel); } if (enabled) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp index 732fc75fe3..6d3f360dae 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp @@ -110,11 +110,6 @@ static Common::Event s_swapResponseEvent; static volatile u32 s_efbAccessRequested = false; static Common::Event s_efbResponseEvent; -#if defined(HAVE_WX) && HAVE_WX - -#endif // HAVE_WX - - void GetDllInfo (PLUGIN_INFO* _PluginInfo) { _PluginInfo->Version = 0x0100;