mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 9 Sep 2010 21:08:12 +0000 (17:08 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 9 Sep 2010 21:08:12 +0000 (17:08 -0400)
commit144356f9925fa9d892faa64fa7264ef9f1d7e2b4
tree36a326580bc155dbd71856e88c4799ca828dc788
parent7aae70406bb1c4c9d1e3d026847249684b5e5d0e
mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer

Binding framebuffer 0 on a context that doesn't have a winsys drawable
will try to bind the incomplete framebuffer.  That fails when that's
also the dummy framebuffer.
src/mesa/main/context.c
src/mesa/main/fbobject.c