mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Fix crashing on some OpenGL versions
This commit is contained in:
1 parent
2d4c28826a
commit
b2d0f37d96
1 file changed
+1
-1
@@ -101,7 +101,7 @@ LinkedShader::LinkedShader(Shader *vs, Shader *fs, u32 vertType, bool useHWTrans
|
||||
// Dual source alpha
|
||||
glBindFragDataLocationIndexed(program, 0, 0, "fragColor0");
|
||||
glBindFragDataLocationIndexed(program, 0, 1, "fragColor1");
|
||||
} else {
|
||||
} else if (gl_extensions.VersionGEThan(3, 3, 0)) {
|
||||
glBindFragDataLocation(program, 0, "fragColor0");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user