GFX: New GlobalControl system - cleaner way to control hacks and for possible control over other parts of the video code (video debugger control).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3982 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox
2009-08-15 07:20:37 +00:00
parent 32d213a823
commit 5ac7105b66
9 changed files with 267 additions and 7 deletions

View File

@ -261,7 +261,7 @@ void Flush()
VERTEXSHADER* vs = VertexShaderCache::GetShader(g_nativeVertexFmt->m_components);
// set global constants
VertexShaderManager::SetConstants(g_Config.bProjHack1,g_Config.bPhackvalue1, g_Config.fhackvalue1, g_Config.bPhackvalue2, g_Config.fhackvalue2, g_Config.bFreeLook);
VertexShaderManager::SetConstants();
PixelShaderManager::SetConstants();
// finally bind