applied patch glGet_GL_MAX_TEXTURE_UNITS_ARB.diff from here http://rt.cpan.org/Public...
Kartik Thakore [Sun, 2 Aug 2009 13:36:49 +0000 (09:36 -0400)]
src/OpenGL.xs

index a04d63c..7d89a19 100644 (file)
@@ -669,6 +669,7 @@ glGet ( param )
         case GL_MAX_ATTRIB_STACK_DEPTH:
         case GL_POLYGON_SMOOTH_HINT:
         case GL_ACCUM_GREEN_BITS:
+               case GL_MAX_TEXTURE_UNITS_ARB:
         {
             GLint ret[1];
             int i;