mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-13 04:21:39 +00:00
fix formatting uglies introduced in glsl-master branch
This commit is contained in:
parent
4a4833e617
commit
31a8424bcc
15 changed files with 1061 additions and 1051 deletions
|
@ -195,7 +195,7 @@ void VertexManager::vFlush()
|
|||
}
|
||||
VERTEXSHADER* vs = VertexShaderCache::SetShader(g_nativeVertexFmt->m_components);
|
||||
|
||||
if(g_ActiveConfig.bUseGLSL)
|
||||
if (g_ActiveConfig.bUseGLSL)
|
||||
ProgramShaderCache::SetBothShaders(ps->glprogid, vs->glprogid);
|
||||
else
|
||||
{
|
||||
|
@ -218,10 +218,10 @@ void VertexManager::vFlush()
|
|||
if (useDstAlpha && !dualSourcePossible)
|
||||
{
|
||||
ps = PixelShaderCache::SetShader(DSTALPHA_ALPHA_PASS,g_nativeVertexFmt->m_components);
|
||||
if(g_ActiveConfig.bUseGLSL)
|
||||
if (g_ActiveConfig.bUseGLSL)
|
||||
{
|
||||
ProgramShaderCache::SetBothShaders(ps->glprogid, 0);
|
||||
if(!g_ActiveConfig.backend_info.bSupportsGLSLUBO)
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue