gl_w32: remove some non-sense

Really now...
This commit is contained in:
wm4 2014-05-26 23:00:39 +02:00
parent 7248988714
commit 53445d3b44
1 changed files with 1 additions and 3 deletions

View File

@ -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);