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

This commit is contained in:
Ryan Houdek 2011-12-21 01:29:29 -06:00 committed by Sonicadvance1
commit 9996f27120
6 changed files with 32 additions and 12 deletions

View file

@ -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");