make use of glMapBuffer to set ubo data

This commit is contained in:
Jordan Woyak
2011-12-11 05:13:05 -06:00
parent 16b58a8825
commit 5ae1f674f5
3 changed files with 55 additions and 7 deletions

View File

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