summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/context_glx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/context_glx.c b/video/out/opengl/context_glx.c
index 09d6d7cf7a..677260c197 100644
--- a/video/out/opengl/context_glx.c
+++ b/video/out/opengl/context_glx.c
@@ -88,9 +88,9 @@ static bool create_context_x11(struct ra_ctx *ctx, GL *gl, bool es)
return false;
}
- if (!strstr(glxstr, "GLX_ARB_create_context") ||
+ if (!gl_check_extension(glxstr, "GLX_ARB_create_context_profile") ||
!glXCreateContextAttribsARB) {
- MP_ERR(ctx, "GLX does not support GLX_ARB_create_context\n");
+ MP_ERR(ctx, "GLX does not support GLX_ARB_create_context_profile\n");
return false;
}