summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_glx.c')
-rw-r--r--video/out/opengl/context_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_glx.c b/video/out/opengl/context_glx.c
index 1accd36db8..09d6d7cf7a 100644
--- a/video/out/opengl/context_glx.c
+++ b/video/out/opengl/context_glx.c
@@ -99,7 +99,7 @@ static bool create_context_x11(struct ra_ctx *ctx, GL *gl, bool es)
if (es) {
profile_mask = GLX_CONTEXT_ES2_PROFILE_BIT_EXT;
- if (!strstr(glxstr, "GLX_EXT_create_context_es2_profile"))
+ if (!gl_check_extension(glxstr, "GLX_EXT_create_context_es2_profile"))
return false;
}