Search
lxdream.org :: lxdream :: r1220:34e696c3a56f
lxdream 0.9.1
released Jun 29
Download Now
changeset1220:34e696c3a56f
parent1219:3966d3e55351
child1221:f50407acc682
authornkeynes
dateMon Feb 13 21:52:55 2012 +1000 (7 years ago)
Conditionally check GL_STACK_UNDERFLOW as well
src/pvr2/glutil.c
1.1 --- a/src/pvr2/glutil.c Mon Feb 13 21:43:22 2012 +1000
1.2 +++ b/src/pvr2/glutil.c Mon Feb 13 21:52:55 2012 +1000
1.3 @@ -184,8 +184,10 @@
1.4 case GL_INVALID_OPERATION: s = "Invalid operation"; break;
1.5 #ifdef GL_STACK_OVERFLOW
1.6 case GL_STACK_OVERFLOW: s = "Stack overflow"; break;
1.7 -#endif GL_STACK_OVERFLOW
1.8 +#endif
1.9 +#ifdef GL_STACK_UNDERFLOW
1.10 case GL_STACK_UNDERFLOW: s = "Stack underflow"; break;
1.11 +#endif
1.12 case GL_OUT_OF_MEMORY: s = "Out of memory"; break;
1.13 default: s = "Unknown error"; break;
1.14 }
.