mesa st: Report unsupported render-to-texture formats.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jul 2009 10:34:02 +0000 (12:34 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jul 2009 10:43:35 +0000 (12:43 +0200)
commitf583745519b2b99ca637cdfa6201fd653c848fd6
tree7884ee6c80b1a08ba85efb7d554921fd0c34d677
parent6c70285e330bd19db78b7d45e43a01b0255ca15f
mesa st: Report unsupported render-to-texture formats.

If a texture image is bound to a framebuffer for render-to-texture, but
the hardware doesn't support rendering to its internal format,
report the framebuffer as incomplete with FRAMEBUFFER_UNSUPPORTED.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/mesa/state_tracker/st_cb_fbo.c