Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1219:3966d3e55351
prev1210:79bbd30363f4
next1222:a4545699a82b
author nkeynes
date Mon Feb 13 21:43:22 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Remove unused pvr2_poly_texblend array
Support GL_MAX_TEXTURE_UNITS and GL_MAX_IMAGE_TEXTURE_UNITS
Protected against undefined GL_STACK_OVERFLOW
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Tue Feb 07 14:27:13 2012 +1000
1.2 +++ b/src/pvr2/glutil.h Mon Feb 13 21:43:22 2012 +1000
1.3 @@ -61,6 +61,10 @@
1.4 #define GL_MIRRORED_REPEAT GL_MIRRORED_REPEAT_ARB
1.5 #endif
1.6
1.7 +#if defined(GL_MAX_TEXTURE_UNITS_ARB) && !defined(GL_MAX_TEXTURE_UNITS)
1.8 +#define GL_MAX_TEXTURE_UNITS GL_MAX_TEXTURE_UNITS_ARB
1.9 +#endif
1.10 +
1.11 #if defined(GL_FRAMEBUFFER_EXT) && !defined(GL_FRAMEBUFFER)
1.12 #define GL_FRAMEBUFFER GL_FRAMEBUFFER_EXT
1.13 #endif
.