From 7033465a9f75d0e611ab74870bdefcbbd5c518d4 Mon Sep 17 00:00:00 2001 From: scribam Date: Sat, 9 Aug 2025 11:11:53 +0200 Subject: [PATCH] glsm: use glBindFragDataLocation in OpenGL context only --- glsm/glsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glsm/glsm.c b/glsm/glsm.c index 8b08c575..a4382d0a 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_CORE) glBindFragDataLocation(program, colorNumber, name); #endif }