mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 22:00:11 +01:00
Revert "mesa: unreference current winsys buffers when unbinding winsys buffers"
This reverts commit12bf7cfecf. This commits caused lots of problems: https://bugs.freedesktop.org/show_bug.cgi?id=110721 https://bugs.freedesktop.org/show_bug.cgi?id=110761 Fixes:12bf7cfecf("mesa: unreference current winsys buffers when unbinding winsys buffers") Pushing without review as we need to get it into next stable. (cherry picked from commit7fe5a8e874)
This commit is contained in:
parent
82b79b032e
commit
bcd9270dbc
1 changed files with 0 additions and 4 deletions
|
|
@ -1760,10 +1760,6 @@ _mesa_make_current( struct gl_context *newCtx,
|
|||
|
||||
check_init_viewport(newCtx, drawBuffer->Width, drawBuffer->Height);
|
||||
}
|
||||
else {
|
||||
_mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, NULL);
|
||||
_mesa_reference_framebuffer(&newCtx->WinSysReadBuffer, NULL);
|
||||
}
|
||||
|
||||
if (newCtx->FirstTimeCurrent) {
|
||||
handle_first_current(newCtx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue