Revert "glx/dri: Fix DRI drawable release at MakeCurrent time"
This reverts commit 31b04e420b
which
is also breaking KDE in some ways.
Fixes: #7674
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19972>
This commit is contained in:

committed by
Marge Bot

parent
0cee008fee
commit
ea3f73ba85
@@ -121,7 +121,7 @@ dri2_bind_context(struct glx_context *context, struct glx_context *old,
|
||||
pdraw = (struct dri2_drawable *) driFetchDrawable(context, draw);
|
||||
pread = (struct dri2_drawable *) driFetchDrawable(context, read);
|
||||
|
||||
driReleaseDrawables(old);
|
||||
driReleaseDrawables(context);
|
||||
|
||||
if (pdraw)
|
||||
dri_draw = pdraw->driDrawable;
|
||||
|
Reference in New Issue
Block a user