projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261eac3
)
fix error code test limit (bug 11795)
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 1 Aug 2007 17:27:29 +0000
(11:27 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 1 Aug 2007 17:27:29 +0000
(11:27 -0600)
src/glu/sgi/libutil/error.c
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libutil/error.c
b/src/glu/sgi/libutil/error.c
index
3d1ce9b
..
c200056
100644
(file)
--- 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_ERROR
8
)) {
+ if ((errorCode >= GLU_TESS_ERROR1) && (errorCode <= GLU_TESS_ERROR
6
)) {
return (const GLubyte *) __gluTessErrorString(errorCode - (GLU_TESS_ERROR1 - 1));
}
return (const GLubyte *) 0;