summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-26 23:00:39 +0200
committerwm4 <wm4@nowhere>2014-05-26 23:00:39 +0200
commit53445d3b44e36fa87bae453ba9fca05f39b753a9 (patch)
treebb7445c9e66c00ab1616585af2c4676c909f2a5f /video
parent72489887140cec59da29096b9a2d3451b6bac041 (diff)
downloadmpv-53445d3b44e36fa87bae453ba9fca05f39b753a9.tar.bz2
mpv-53445d3b44e36fa87bae453ba9fca05f39b753a9.tar.xz
gl_w32: remove some non-sense
Really now...
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_w32.c4
1 files changed, 1 insertions, 3 deletions
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);