Demos (master): glxinfo: add support for GL_MAX_DUAL_SOURCE_DRAW_BUFFERS query
Dave Airlie
airlied at kemper.freedesktop.org
Mon Nov 21 08:00:27 UTC 2011
Module: Demos
Branch: master
Commit: 3d62f984ed64322b48c5353daec0c65cafcffd77
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=3d62f984ed64322b48c5353daec0c65cafcffd77
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Nov 21 07:59:08 2011 +0000
glxinfo: add support for GL_MAX_DUAL_SOURCE_DRAW_BUFFERS query
---
src/xdemos/glxinfo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c
index fe2f68b..efb9b20 100644
--- a/src/xdemos/glxinfo.c
+++ b/src/xdemos/glxinfo.c
@@ -424,6 +424,9 @@ print_limits(const char *extensions)
#if defined(GL_ARB_draw_buffers)
{ 1, GL_MAX_DRAW_BUFFERS_ARB, "GL_MAX_DRAW_BUFFERS_ARB", "GL_ARB_draw_buffers" },
#endif
+#if defined(GL_ARB_blend_func_extended)
+ { 1, GL_MAX_DUAL_SOURCE_DRAW_BUFFERS, "GL_MAX_DUAL_SOURCE_DRAW_BUFFERS", "GL_ARB_blend_func_extended" },
+#endif
{ 0, (GLenum) 0, NULL, NULL }
};
GLint i, max[2];
More information about the mesa-commit
mailing list