glMapBuffer was slow, go back to glBufferSubData, single combined ps/vs ubo now

This commit is contained in:
Jordan Woyak
2011-12-11 06:11:38 -06:00
committed by Sonicadvance1
parent d9117ab6a1
commit d70726b035
3 changed files with 5 additions and 40 deletions

View File

@ -206,9 +206,6 @@ void VertexManager::vFlush()
// set global constants
VertexShaderManager::SetConstants();
PixelShaderManager::SetConstants();
if(g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLUBO)
ProgramShaderCache::FlushConstants();
// setup the pointers
if (g_nativeVertexFmt)