Give OSX users more of a chance of supporting Single pass DSB in the future.

This commit is contained in:
Ryan Houdek authored and Sonicadvance1 committed 2012-10-09 23:42:41 -05:00
1 parent d012c75005
commit 9996f27120
6 files changed
+32 -12

No files matched your search

@@ -89,7 +89,7 @@ namespace OGL
}
// Need to get some attribute locations
if(uid.uid.vsid != 0) // We have no vertex Shader
if(uid.uid.vsid != 0 && !g_ActiveConfig.backend_info.bSupportsGLSLATTRBind) // We have no vertex Shader
{
glBindAttribLocation(entry.program.glprogid, SHADER_NORM1_ATTRIB, "rawnorm1");
glBindAttribLocation(entry.program.glprogid, SHADER_NORM2_ATTRIB, "rawnorm2");