summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 22:13:15 +0100
committerwm4 <wm4@nowhere>2015-02-27 22:13:15 +0100
commit73c5c3df5336348367902ec76a5f702909549696 (patch)
treefa8a5fa0b7356ec70709b3f0361b194a235e3af3 /video/out
parente7b7a5a476a9082320173a7c09b22d3b679fe557 (diff)
downloadmpv-73c5c3df5336348367902ec76a5f702909549696.tar.bz2
mpv-73c5c3df5336348367902ec76a5f702909549696.tar.xz
vo_opengl: delete 16 bit test texture
Essentially a leak, but not that bad since it's small and allocated only once.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 348da35663..23b19b3125 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -2235,6 +2235,7 @@ static int init_gl(struct gl_video *p)
MP_VERBOSE(p, "16 bit texture depth: %d.\n", (int)param);
p->texture_16bit_depth = param;
}
+ gl->DeleteTextures(1, &tex);
}
debug_check_gl(p, "after init_gl");