summaryrefslogtreecommitdiffstats
path: root/src/wgl/wglinfo.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-02-27 08:16:32 -0700
committerBrian Paul <brianp@vmware.com>2012-02-27 08:16:32 -0700
commit486c0a7668d52d9bb5870644bbc0e77e990df64f (patch)
tree5c0a142d668803e2fe257afb9e6a0b886bd7b855 /src/wgl/wglinfo.c
parent52cc5d6503563251e7c21eb1e3e8fd7656da346c (diff)
downloadmesa-demos-486c0a7668d52d9bb5870644bbc0e77e990df64f.zip
mesa-demos-486c0a7668d52d9bb5870644bbc0e77e990df64f.tar.xz
wglinfo: query/print GL_ARB_framebuffer_object limits
Diffstat (limited to 'src/wgl/wglinfo.c')
-rw-r--r--src/wgl/wglinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c
index b125098..6a52cf3 100644
--- a/src/wgl/wglinfo.c
+++ b/src/wgl/wglinfo.c
@@ -361,6 +361,11 @@ print_limits(const char *extensions)
#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
+#if defined (GL_ARB_framebuffer_object)
+ { 1, GL_MAX_RENDERBUFFER_SIZE, "GL_MAX_RENDERBUFFER_SIZE", "GL_ARB_framebuffer_object" },
+ { 1, GL_MAX_COLOR_ATTACHMENTS, "GL_MAX_COLOR_ATTACHMENTS", "GL_ARB_framebuffer_object" },
+ { 1, GL_MAX_SAMPLES, "GL_MAX_SAMPLES", "GL_ARB_framebuffer_object" },
+#endif
{ 0, (GLenum) 0, NULL, NULL }
};
GLint i, max[2];