make use of glMapBuffer to set ubo data

This commit is contained in:
Jordan Woyak
2011-12-11 05:13:05 -06:00
committed by Sonicadvance1
parent 04836705b7
commit e641ede232
3 changed files with 55 additions and 7 deletions

View File

@ -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)