From 73c5c3df5336348367902ec76a5f702909549696 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Feb 2015 22:13:15 +0100 Subject: vo_opengl: delete 16 bit test texture Essentially a leak, but not that bad since it's small and allocated only once. --- video/out/gl_video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') 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"); -- cgit v1.2.3