mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-25 02:49:08 -05:00
Add in UBOs, doesn't work yet. Still debugging here.
This commit is contained in:
committed by
Sonicadvance1
parent
5f0f26ef35
commit
4a84c6f742
@@ -231,7 +231,8 @@ void VertexManager::vFlush()
|
||||
if(g_ActiveConfig.bUseGLSL)
|
||||
{
|
||||
ProgramShaderCache::SetBothShaders(ps->glprogid, 0);
|
||||
PixelShaderManager::SetConstants(); // Need to set these again
|
||||
if(!g_ActiveConfig.backend_info.bSupportsGLSLUBO)
|
||||
PixelShaderManager::SetConstants(); // Need to set these again, if we don't support UBO
|
||||
if (g_nativeVertexFmt)
|
||||
g_nativeVertexFmt->SetupVertexPointers();
|
||||
for (int i = 0; i < 8; i++)
|
||||
|
||||
Reference in New Issue
Block a user