diff options
-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"); |