mirror of https://github.com/mpv-player/mpv
win32: fix build
This commit is contained in:
parent
5a0db9bf8a
commit
ff6c387a73
|
@ -240,7 +240,6 @@ static void destroy_gl(void *ptr)
|
|||
|
||||
static void releaseGlContext_w32(MPGLContext *ctx)
|
||||
{
|
||||
struct MPGLContext *ctx = ptr;
|
||||
struct w32_context *w32_ctx = ctx->priv;
|
||||
if (w32_ctx->context)
|
||||
wglMakeCurrent(w32_ctx->hdc, 0);
|
||||
|
|
Loading…
Reference in New Issue