Module: Mesa
Branch: master
Commit: 7f867851f5ac1a8b6733181ffb0bd2d8c8058d8f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f867851f5ac1a8b6733181ffb0bd2d8c8058d8f

Author: Jordan Justen <[email protected]>
Date:   Sat Jan 12 19:21:54 2013 -0800

fbobject: add VERBOSE=api message for check framebuffer status

Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>

---

 src/mesa/main/fbobject.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 50ad84c..74b0386 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1904,6 +1904,10 @@ _mesa_CheckFramebufferStatus(GLenum target)
 
    ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0);
 
+   if (MESA_VERBOSE & VERBOSE_API)
+      _mesa_debug(ctx, "glCheckFramebufferStatus(%s)\n",
+                  _mesa_lookup_enum_by_nr(target));
+
    buffer = get_framebuffer_target(ctx, target);
    if (!buffer) {
       _mesa_error(ctx, GL_INVALID_ENUM, "glCheckFramebufferStatus(target)");

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

Reply via email to