summaryrefslogtreecommitdiffstats
path: root/src/glu
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-01 11:27:29 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-01 11:27:29 -0600
commit394e7575a3e5694ee63008c7a7e0e4b891c181f6 (patch)
treeb66e4d1d11e615670a1dfdfcb2669d98c10e5aed /src/glu
parent261eac3c79d182e4dcd04355fa65215aa576c05f (diff)
downloadexternal_mesa3d-394e7575a3e5694ee63008c7a7e0e4b891c181f6.zip
external_mesa3d-394e7575a3e5694ee63008c7a7e0e4b891c181f6.tar.gz
external_mesa3d-394e7575a3e5694ee63008c7a7e0e4b891c181f6.tar.bz2
fix error code test limit (bug 11795)
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libutil/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libutil/error.c b/src/glu/sgi/libutil/error.c
index 3d1ce9b..c200056 100644
--- a/src/glu/sgi/libutil/error.c
+++ b/src/glu/sgi/libutil/error.c
@@ -82,7 +82,7 @@ gluErrorString(GLenum errorCode)
if ((errorCode >= GLU_NURBS_ERROR1) && (errorCode <= GLU_NURBS_ERROR37)) {
return (const GLubyte *) __gluNURBSErrorString(errorCode - (GLU_NURBS_ERROR1 - 1));
}
- if ((errorCode >= GLU_TESS_ERROR1) && (errorCode <= GLU_TESS_ERROR8)) {
+ if ((errorCode >= GLU_TESS_ERROR1) && (errorCode <= GLU_TESS_ERROR6)) {
return (const GLubyte *) __gluTessErrorString(errorCode - (GLU_TESS_ERROR1 - 1));
}
return (const GLubyte *) 0;