summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-01 11:27:47 -0600
committerBrian <[email protected]>2007-08-01 11:27:47 -0600
commit0586d9fe5652372c38110b04534ef9b7530f850c (patch)
tree38ff755a7994a8046a2fdb42c2837fc4c4342dca /src
parentce7d175adb1c5c02c71e7bfeb078b108c3a78896 (diff)
fix error code test limit (bug 11795)
Diffstat (limited to 'src')
-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 3d1ce9b2101..c2000569427 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;