mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Give OSX users more of a chance of supporting Single pass DSB in the future.
This commit is contained in:
parent
d012c75005
commit
9996f27120
6 changed files with 32 additions and 12 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue