diff options
author | Niklas Haas <git@haasn.xyz> | 2020-04-15 07:21:36 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-04-15 07:21:36 +0200 |
commit | 7e52e727461f943a78fcc97e9b70d917930f07c4 (patch) | |
tree | 7bef7dd492473f6a99f5068a2040627f3d2c67e1 /player | |
parent | d669c67149856df261abcc142f8b07f3af2b3f46 (diff) | |
download | mpv-7e52e727461f943a78fcc97e9b70d917930f07c4.tar.bz2 mpv-7e52e727461f943a78fcc97e9b70d917930f07c4.tar.xz |
vo_gpu: opengl: make sure to always clean up debug callbacks
In theory this mostly happens automatically, especially after the 5
vsync limit disables this already. But if we uninit before 5 vsyncs are
rendered, this can get left in a dangling 'enabled' state, which leaks a
debug report callback.
Always explicitly disable it just to be on the safe side.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions