Skip to content

libplacebo: opengl: fix double-release

Niklas Haas requested to merge haasn/vlc:fix_gl_release into master

glReleaseCurrent accidentally gets run twice in this code, including once before creating the swapchain (where we definitely want the process to be current!).

Fix this logic to only release the context once.

Merge request reports