mesa: fix error handling for glEvalMesh1/2D
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 19 Sep 2011 07:02:58 +0000 (15:02 +0800)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Sep 2011 14:11:51 +0000 (08:11 -0600)
commit21b2895bd0df1b7b6f6defeff1dc2084152f51e5
treed09212778204cc9cf6c613c4d4c8efad7b583ebb
parentf534c1341347438ed7607b0afa12244df8f1cd0a
mesa: fix error handling for glEvalMesh1/2D

According man page, trigger error when calling glEvalMesh1/2D inside
glBegin/glEnd.

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