Revert "mesa: unreference current winsys buffers when unbinding winsys buffers"
authorDave Airlie <airlied@redhat.com>
Sun, 26 May 2019 23:36:28 +0000 (09:36 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 26 May 2019 23:36:28 +0000 (09:36 +1000)
commit7fe5a8e874b2cae2b1ada3f6aab8ca6766753b1e
tree7da446de2a1c264e11ec8f17f2ea669a680eea68
parent659aa3dd6519f64379e91ca97fe184434fd7fdee
Revert "mesa: unreference current winsys buffers when unbinding winsys buffers"

This reverts commit 12bf7cfecf52083c484602f971738475edfe497e.

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: 12bf7cfecf52 ("mesa: unreference current winsys buffers when unbinding winsys buffers")
Pushing without review as we need to get it into next stable.
src/mesa/main/context.c