summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_w32.c')
-rw-r--r--video/out/gl_w32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c
index abdea60775..3af58cf21d 100644
--- a/video/out/gl_w32.c
+++ b/video/out/gl_w32.c
@@ -202,8 +202,7 @@ static void create_ctx(void *ptr)
if (!create_dc(ctx, w32_ctx->flags))
return;
- if (ctx->requested_gl_version >= MPGL_VER(3, 0))
- create_context_w32_gl3(ctx);
+ create_context_w32_gl3(ctx);
if (!w32_ctx->context)
create_context_w32_old(ctx);
wglMakeCurrent(w32_ctx->hdc, NULL);