OGL: remove ubo workaround

This was only keeped for some broken mesa versions. Meanwhile most used versions should be fixed for almost a year.
This commit is contained in:
degasus
2014-01-30 16:38:11 +01:00
parent 97119d0e89
commit 6089e4470a
8 changed files with 66 additions and 179 deletions

View File

@ -186,11 +186,6 @@ void VertexManager::vFlush()
if (useDstAlpha && !dualSourcePossible)
{
ProgramShaderCache::SetShader(DSTALPHA_ALPHA_PASS,g_nativeVertexFmt->m_components);
if (!g_ActiveConfig.backend_info.bSupportsGLSLUBO)
{
// Need to upload these again, if we don't support UBO
ProgramShaderCache::UploadConstants();
}
// only update alpha
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_TRUE);