From 443fd456a1a5e03e1396604011d2b8a0ed81b7ca 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. (cherry picked from commit 73c5c3df5336348367902ec76a5f702909549696) --- video/out/gl_video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 0fede709e8..4b29a26177 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2230,6 +2230,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