st/mesa: remove an incorrect assertion
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 17 May 2017 13:14:35 +0000 (15:14 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 18 May 2017 09:47:27 +0000 (11:47 +0200)
commit377877ff5f5d08a1a417e8baf923b44c74f0d7e7
tree2c389b8b1b1cc1d98ae63c59b932d2c7dc9f012f
parente69e5c7006da80af62c9ef08dec215b3b4b30946
st/mesa: remove an incorrect assertion

There is really no reason why the current DrawBuffer needs to be complete
at this point. In particular, the assertion gets hit on the X server side
in libglx when running .../piglit/bin/glx-get-current-display-ext -auto
(which uses indirect GLX rendering).

Fixes: 19b61799e3d0 ("st/mesa: don't cast the incomplete framebufer to st_framebuffer")
Reported-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_manager.c