st/mesa: fix renderbuffer validation bug
authorBrian Paul <brianp@vmware.com>
Fri, 10 Aug 2012 15:57:05 +0000 (09:57 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 10 Aug 2012 17:49:36 +0000 (11:49 -0600)
commitcf77c29e6015d177c046adee3c48589cc9fb5015
tree09da3dd843e5151d82cc633a6057a4160c291d82
parent9f5a5d541d5c1ff2e440791ba8ff44d0233daeb4
st/mesa: fix renderbuffer validation bug

After we attach a new renderbuffer in this function we need to make
sure Mesa's update_framebuffer() gets called.

Fixes crash in WebGL conformance/textures/texture-attachment-formats.html,
but the test still fails for other reasons.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53316

Note: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_fbo.c