mesa: (correctly) flush more in _mesa_make_current
authorAdam Jackson <ajax@redhat.com>
Thu, 10 Jun 2021 14:55:17 +0000 (10:55 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 15 Jul 2021 15:10:17 +0000 (15:10 +0000)
commit17e62a3c23f68df802bcbfdab947dff4226fa281
tree9fe3b537229c6e1756bc91fffcaf5230eedf95ec
parent34342cce895b4d666c3f6a1cbf3f3b7da859afc2
mesa: (correctly) flush more in _mesa_make_current

The code being removed here requires that the old context have a
window-system drawable bound to the default framebuffer as a condition
of the context-release flush. I can find no justification for
restricting flushes to contexts like this, and GL 3.0 (etc) let you make
a context current without any drawable bound.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11423>
src/mesa/main/context.c