glcaps.c
branchtrunk
changeset 412 4e275a0788f7
parent 277 49a6571cac6d
--- a/glcaps.c	Sun Jun 29 01:06:09 2008 -0400
+++ b/glcaps.c	Sun Jun 29 01:52:35 2008 -0400
@@ -33,6 +33,7 @@
 int main(int argc, char **argv)
 {
     GLint val = 0;
+    const char *str = NULL;
 
     SDL_Init(SDL_INIT_VIDEO);
     SDL_GL_LoadLibrary(NULL);
@@ -100,6 +101,8 @@
         pglGetIntegerv(x, &val); \
         printf(#x ": %d\n", (int) val);
 
+    str = (const char *) pglGetString(GL_SHADING_LANGUAGE_VERSION_ARB);
+    printf("GL_SHADING_LANGUAGE_VERSION_ARB: %s\n", str);
     getval(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB);
     getval(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB);
     getval(GL_MAX_VARYING_FLOATS_ARB);