summaryrefslogtreecommitdiff
path: root/src/libutil/error.c
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
commita30a2f66944ad228126c90e23dd0ab52ed633028 (patch)
tree4baf3950ace958c1dc19bca83b02a623074a6188 /src/libutil/error.c
parentb9e8d0080d45518839eb50ddf336dbdf0013c31a (diff)
fix error code test limit (bug 11795)
Diffstat (limited to 'src/libutil/error.c')
-rw-r--r--src/libutil/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/error.c b/src/libutil/error.c
index 3d1ce9b..c200056 100644
--- a/src/libutil/error.c
+++ b/src/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;