Module: Demos
Branch: master
Commit: 486c0a7668d52d9bb5870644bbc0e77e990df64f
URL:    
http://cgit.freedesktop.org/mesa/demos/commit/?id=486c0a7668d52d9bb5870644bbc0e77e990df64f

Author: Brian Paul <[email protected]>
Date:   Mon Feb 27 08:16:32 2012 -0700

wglinfo: query/print GL_ARB_framebuffer_object limits

---

 src/wgl/wglinfo.c |    5 +++++
 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];

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to