From 53445d3b44e36fa87bae453ba9fca05f39b753a9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 May 2014 23:00:39 +0200 Subject: gl_w32: remove some non-sense Really now... --- video/out/gl_w32.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'video') diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c index fac25228d4..d80fa00143 100644 --- a/video/out/gl_w32.c +++ b/video/out/gl_w32.c @@ -44,10 +44,8 @@ static bool create_context_w32_old(struct MPGLContext *ctx) struct w32_context *w32_ctx = ctx->priv; HGLRC *context = &w32_ctx->context; - if (*context) { - gl->Finish(); // supposedly to prevent flickering + if (*context) return true; - } HWND win = ctx->vo->w32->window; HDC windc = GetDC(win); -- cgit v1.2.3