mesa: have old glColorTable functions generate GL_INVALID_OPERATION
authorBrian Paul <brianp@vmware.com>
Fri, 29 Nov 2013 13:40:35 +0000 (06:40 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Nov 2013 13:41:12 +0000 (06:41 -0700)
commit214399a3bc7fed50b0fd29c29687c7bec9f712ad
tree68bd83e5cf03326ecff8de7fe3eb4e28545a2ee2
parentfb5f5b81883f360dcbbf407a0f6f5606bc0c0495
mesa: have old glColorTable functions generate GL_INVALID_OPERATION

As is done for the old histogram functions.

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