mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT()
authorBrian Paul <brianp@vmware.com>
Thu, 18 Aug 2011 17:51:48 +0000 (11:51 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 18 Aug 2011 17:51:53 +0000 (11:51 -0600)
commitccecc08f79afc020c8c0acface04a8e53e3a7c32
tree2b3d3a9120dd0b9c248166ce32ae59ee89412c0d
parente9ae4cadf5008f25aeae1bf4fa0c9c3397ee8c18
mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT()

The spec says GL_INVALID_OPERATION is generated when texture!=0 and
textarget is not a legal value.  We had this right for the 2D function.
src/mesa/main/fbobject.c