diff --git a/glsm/glsm.c b/glsm/glsm.c index 8b08c575..2b07c857 100644 --- a/glsm/glsm.c +++ b/glsm/glsm.c @@ -1027,7 +1027,7 @@ void rglBindFragDataLocation(GLuint program, GLuint colorNumber, #ifdef GLSM_DEBUG log_cb(RETRO_LOG_INFO, "glBindFragDataLocation.\n"); #endif -#if !defined(HAVE_OPENGLES2) +#if defined(HAVE_OPENGL) glBindFragDataLocation(program, colorNumber, name); #endif }