mesa: fix error handling for glTexEnv
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 19 Sep 2011 07:03:00 +0000 (15:03 +0800)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Sep 2011 14:11:51 +0000 (08:11 -0600)
commitb020b111a82266743d2cc501195defe687657e96
treea2a5723c446932bb4ef855bd6e69057689c527af
parentf1ddde5c16ef61a6c08af012af3e5f34aebaf7a0
mesa: fix error handling for glTexEnv

Fix error handling while calling glTexEnv with invalid texture
environment parameters.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texenv.c