mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
make use of glMapBuffer to set ubo data
This commit is contained in:
parent
04836705b7
commit
e641ede232
3 changed files with 55 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue