Lots of code and warning cleanup. OGL/D3D: Moved to a shared config class in VideoCommon. This lets VideoCommon code read the config without ugly hacks. Fixed various config race conditions by keeping a copy (g_ActiveConfig) of the g_Config struct which is updated once per frame.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4256 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
52ea8a0fd1
commit
700f2ff694
44 files changed
+613
-856
No files matched your search
@@ -136,7 +136,7 @@ bool PixelShaderCache::SetShader(bool dstAlpha)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (g_Config.bShowShaderErrors)
|
||||
if (g_ActiveConfig.bShowShaderErrors)
|
||||
{
|
||||
PanicAlert("Failed to compile Pixel Shader:\n\n%s", code);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user