[Mesa-dev] [PATCH demos 3/3] glxinfo: Print GL_EXT_texture_array limits
Andreas Boll
andreas.boll.dev at gmail.com
Wed Jul 2 12:05:01 PDT 2014
From: Fredrik Höglund <fredrik at kde.org>
Updated patch for refactored glxinfo/wglinfo code by Andreas Boll.
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
src/xdemos/glinfo_common.c | 3 +++
1 file changed, 3 insertions(+)
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 },
--
2.0.0
More information about the mesa-dev
mailing list