mirror of https://github.com/mpv-player/mpv
parent
7248988714
commit
53445d3b44
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue