summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2013-01-12 19:21:54 -0800
committerJordan Justen <[email protected]>2013-01-14 20:47:02 -0800
commit7f867851f5ac1a8b6733181ffb0bd2d8c8058d8f (patch)
treea37695a6bbdef622c6ea2277e680408cd06d616b /src/mesa/main/fbobject.c
parent1c9833ba70466906d3d2ad3aee6a10642a39abdd (diff)
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]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 50ad84c5659..74b038632d5 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)");