This means the drawable was already destroyed. This can happen during diplay teardown, destroying the context will make it current first so it can flush rendering and destroy textures and such, and if the drawable is already destroyed then flushing to nowhere would crash. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11423>