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