diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-07-15 18:01:36 -0700 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2016-08-18 10:49:20 -0700 |
commit | a96ac473e205b1c64ca5ebc7def3fb32ea44c5e1 (patch) | |
tree | 889a808446dc9286fc7cd8dd43e1519a0b5c41b2 | |
parent | 7ee0f3b86fe64f1d8402a39c07982b39836d131f (diff) |
main: Add MESA_VERBOSE=api support for glFramebufferTexture*
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r-- | src/mesa/main/fbobject.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 2c01526d167..5811fb3f9ad 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3223,6 +3223,13 @@ framebuffer_texture_with_dims(int dims, GLenum target, struct gl_framebuffer *fb; struct gl_texture_object *texObj; + if (MESA_VERBOSE & VERBOSE_API) { + _mesa_debug(ctx, "glFramebufferTexture%dD(%s, %s, %s, %d, %d, %d))\n", + dims, _mesa_enum_to_string(target), + _mesa_enum_to_string(attachment), + _mesa_enum_to_string(textarget), texture, level, layer); + } + /* Get the framebuffer object */ fb = get_framebuffer_target(ctx, target); if (!fb) { |