summaryrefslogtreecommitdiffstats
path: root/video/out/gl_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_w32.c')
-rw-r--r--video/out/gl_w32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/gl_w32.c b/video/out/gl_w32.c
index 0be8ff0165..79e3165b39 100644
--- a/video/out/gl_w32.c
+++ b/video/out/gl_w32.c
@@ -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);