Skip to content

Commit 7521b5b

Browse files
committed
glsm: use glBindFragDataLocation in OpenGL context only
1 parent ad9124f commit 7521b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glsm/glsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ void rglBindFragDataLocation(GLuint program, GLuint colorNumber,
10271027
#ifdef GLSM_DEBUG
10281028
log_cb(RETRO_LOG_INFO, "glBindFragDataLocation.\n");
10291029
#endif
1030-
#if !defined(HAVE_OPENGLES2)
1030+
#if defined(HAVE_OPENGL)
10311031
glBindFragDataLocation(program, colorNumber, name);
10321032
#endif
10331033
}

0 commit comments

Comments
 (0)