mesa: fix a logic error in glFramebufferTexture2D
authorChia-I Wu <olv@lunarg.com>
Sat, 22 Oct 2011 14:17:31 +0000 (22:17 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 3 Nov 2011 07:09:44 +0000 (15:09 +0800)
commitd8ba30af11f1894fcdd9138a8bc71ff054932bb6
tree5548ad42d88176d964c0a63f348242b379481b76
parent2903816aadb281716b6c59a5a48aeadb84a08f50
mesa: fix a logic error in glFramebufferTexture2D

Unrecognized texture target should give an error.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/main/fbobject.c