diff options
author | wm4 <wm4@nowhere> | 2014-05-26 23:00:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-26 23:00:39 +0200 |
commit | 53445d3b44e36fa87bae453ba9fca05f39b753a9 (patch) | |
tree | bb7445c9e66c00ab1616585af2c4676c909f2a5f | |
parent | 72489887140cec59da29096b9a2d3451b6bac041 (diff) | |
download | mpv-53445d3b44e36fa87bae453ba9fca05f39b753a9.tar.bz2 mpv-53445d3b44e36fa87bae453ba9fca05f39b753a9.tar.xz |
gl_w32: remove some non-sense
Really now...
-rw-r--r-- | video/out/gl_w32.c | 4 |
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); |