1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

vo_opengl: delete 16 bit test texture

Essentially a leak, but not that bad since it's small and allocated only
once.
This commit is contained in:
wm4 2015-02-27 22:13:15 +01:00
parent e7b7a5a476
commit 73c5c3df53

View File

@ -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");