added max texture coordinates
authorEleni Maria Stea <elene.mst@gmail.com>
Tue, 26 Feb 2013 12:43:03 +0000 (14:43 +0200)
committerEleni Maria Stea <elene.mst@gmail.com>
Tue, 26 Feb 2013 12:43:03 +0000 (14:43 +0200)
examples/lenovo.conf
src/gliar.c
tests/glinfo/glinfo.c

index 30bea34..0940b81 100644 (file)
@@ -1,4 +1,4 @@
-# example GLIAR configuration that emulates the lenovo T430 GPU
+# example GLIAR configuration that emulates the Intel 4000 GPU (lenovo T430)
 # copyright: Canonical Ltd, 2013
 # author: Eleni Maria Stea <elene.mst@gmail.com>
 #
@@ -191,3 +191,6 @@ GL_ARB_invalidate_subdata
 
 [max texture units]
 8
+
+[max texture coordinates]
+8
index 5fe944d..8131a62 100644 (file)
@@ -249,6 +249,10 @@ void glGetIntegerv(GLenum name, GLint *val)
                key = "max texture size";
                break;
 
+       case GL_MAX_TEXTURE_COORDS:
+               key = "max texture coordinates";
+               break;
+
        default:
                key = 0;
        }
index 3f09354..b46675b 100644 (file)
@@ -39,5 +39,6 @@ int main(int argc, char **argv)
 
        printf("texture units: %d\n", GET_INTEGER(GL_MAX_TEXTURE_UNITS));
        printf("max texture size: %d\n", GET_INTEGER(GL_MAX_TEXTURE_SIZE));
+       printf("max texture coordinates: %d\n", GET_INTEGER(GL_MAX_TEXTURE_COORDS));
        return 0;
 }