diff options
Diffstat (limited to 'video/out/opengl/context_dxinterop.c')
-rw-r--r-- | video/out/opengl/context_dxinterop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_dxinterop.c b/video/out/opengl/context_dxinterop.c index d4d3b874d6..5764254cc1 100644 --- a/video/out/opengl/context_dxinterop.c +++ b/video/out/opengl/context_dxinterop.c @@ -148,7 +148,7 @@ static int os_ctx_create(struct ra_ctx *ctx) } const char *wgl_exts = wglGetExtensionsStringARB(p->os_dc); - if (!strstr(wgl_exts, "WGL_ARB_create_context")) { + if (!gl_check_extension(wgl_exts, "WGL_ARB_create_context")) { MP_FATAL(ctx->vo, "The OpenGL driver does not support OpenGL 3.x\n"); goto fail; } |