mesa: restructure error checking in _mesa_FramebufferTexture1D/2DEXT()
authorBrian Paul <brianp@vmware.com>
Thu, 18 Aug 2011 20:35:27 +0000 (14:35 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Aug 2011 19:31:10 +0000 (13:31 -0600)
commit352cab498a6210e1fdd57d6be2a30d33024ef37f
tree81186fccad536ca8f8fbd69b08f535dedd4718c0
parentf23c3ebeccc5c591b79c10cbdb693270ef27a2f5
mesa: restructure error checking in _mesa_FramebufferTexture1D/2DEXT()

In anticipation of adding more texture targets.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/fbobject.c