summaryrefslogtreecommitdiffstats
path: root/src/wgl/wglinfo.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-02-08 17:31:29 +0000
committerJosé Fonseca <jfonseca@vmware.com>2012-02-08 17:31:29 +0000
commit85c8541c721288174f374972b4a6837d9f723796 (patch)
treeedfd8c8ac0ad7db69985aeb725d9c8159a229ef5 /src/wgl/wglinfo.c
parentf8ebb1cf3d6c6723d48ed8b7acd9a9ba159f0e40 (diff)
downloadmesa-demos-85c8541c721288174f374972b4a6837d9f723796.zip
mesa-demos-85c8541c721288174f374972b4a6837d9f723796.tar.xz
wglinfo: List GL_MAX_DUAL_SOURCE_DRAW_BUFFERS
Just like glxinfo does.
Diffstat (limited to 'src/wgl/wglinfo.c')
-rw-r--r--src/wgl/wglinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c
index fa47333..b125098 100644
--- a/src/wgl/wglinfo.c
+++ b/src/wgl/wglinfo.c
@@ -358,6 +358,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];
@@ -514,7 +517,7 @@ print_screen_info(HDC _hdc, GLboolean limits, GLboolean singleLine)
const char *glExtensions = (const char *) glGetString(GL_EXTENSIONS);
#if defined(WGL_ARB_extensions_string)
- if(wglGetExtensionsStringARB_func) {
+ if (wglGetExtensionsStringARB_func) {
const char *wglExtensions = wglGetExtensionsStringARB_func(hdc);
if(wglExtensions) {
printf("WGL extensions:\n");