st/mesa: make unsupported renderbuffer formats always fail as FBO incomplete
authorMarek Olšák <maraeo@gmail.com>
Fri, 15 Jun 2012 00:00:36 +0000 (02:00 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 16 Jun 2012 12:20:27 +0000 (14:20 +0200)
commitc760283159dbf3607b0f072b0d1ff50859feb3f4
tree4393f07b44e03e4730db91d00f4fafa29f7e7ee5
parente4b2e6b5270644c267892fae07d919b494cc4397
st/mesa: make unsupported renderbuffer formats always fail as FBO incomplete

instead of failing to allocate a renderbuffer.

This also fixes piglit/get-renderbuffer-internalformat with non-renderable
formats.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_fbo.c