diff options
author | wm4 <wm4@nowhere> | 2015-02-27 22:13:15 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-03 16:02:22 +0900 |
commit | 443fd456a1a5e03e1396604011d2b8a0ed81b7ca (patch) | |
tree | b19a8f493d16c0ea8eb738806c9f4d8d8a1af23e | |
parent | 910da3af6afce49e51834b4d4251c1c6482e5c5a (diff) | |
download | mpv-443fd456a1a5e03e1396604011d2b8a0ed81b7ca.tar.bz2 mpv-443fd456a1a5e03e1396604011d2b8a0ed81b7ca.tar.xz |
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)
-rw-r--r-- | video/out/gl_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |