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
commit c908e1173d
3 changed files with 5 additions and 40 deletions

View file

@ -214,9 +214,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)