summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2014-07-02 20:02:49 +0200
committerAndreas Boll <andreas.boll.dev@gmail.com>2014-07-03 09:26:57 +0200
commit6a6bfc0a64740933249e1fc4c15ad5b29b9e83a1 (patch)
tree1a4dd414a0d9215cc0fd591fef303479007b6516
parenta164baf74ca11f8090a1acf391d49d77ce7b905e (diff)
downloadmesa-demos-6a6bfc0a64740933249e1fc4c15ad5b29b9e83a1.zip
mesa-demos-6a6bfc0a64740933249e1fc4c15ad5b29b9e83a1.tar.xz
glxinfo: Print GL_EXT_texture_array limits
Updated patch for refactored glxinfo/wglinfo code by Andreas Boll. Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/xdemos/glinfo_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
index d5d466a..1326a86 100644
--- a/src/xdemos/glinfo_common.c
+++ b/src/xdemos/glinfo_common.c
@@ -505,6 +505,9 @@ print_limits(const char *extensions, const char *oglstring, int version,
{ 1, GL_MAX_TEXTURE_STACK_DEPTH, "GL_MAX_TEXTURE_STACK_DEPTH", NULL },
{ 1, GL_MAX_TEXTURE_SIZE, "GL_MAX_TEXTURE_SIZE", NULL },
{ 1, GL_MAX_3D_TEXTURE_SIZE, "GL_MAX_3D_TEXTURE_SIZE", NULL },
+#if defined(GL_EXT_texture_array)
+ { 1, GL_MAX_ARRAY_TEXTURE_LAYERS_EXT, "GL_MAX_ARRAY_TEXTURE_LAYERS", "GL_EXT_texture_array" },
+#endif
{ 2, GL_MAX_VIEWPORT_DIMS, "GL_MAX_VIEWPORT_DIMS", NULL },
{ 2, GL_ALIASED_LINE_WIDTH_RANGE, "GL_ALIASED_LINE_WIDTH_RANGE", NULL },
{ 2, GL_SMOOTH_LINE_WIDTH_RANGE, "GL_SMOOTH_LINE_WIDTH_RANGE", NULL },