diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-01 11:27:29 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-01 11:27:29 -0600 |
commit | 394e7575a3e5694ee63008c7a7e0e4b891c181f6 (patch) | |
tree | b66e4d1d11e615670a1dfdfcb2669d98c10e5aed /src/glu | |
parent | 261eac3c79d182e4dcd04355fa65215aa576c05f (diff) |
fix error code test limit (bug 11795)
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/sgi/libutil/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libutil/error.c b/src/glu/sgi/libutil/error.c index 3d1ce9b210..c200056942 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; |