make use of glMapBuffer to set ubo data

This commit is contained in:
Jordan Woyak authored and Sonicadvance1 committed 2012-10-09 23:41:48 -05:00
1 parent 04836705b7
commit e641ede232
3 files changed
+55 -7

No files matched your search

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