[Mesa-dev] [PATCH v2 01/18] fbobject: add VERBOSE=api message for check framebuffer status
Matt Turner
mattst88 at gmail.com
Mon Jan 14 14:05:29 PST 2013
On Sat, Jan 12, 2013 at 8:10 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
> src/mesa/main/fbobject.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
> index b991c76..15e8f10 100644
> --- a/src/mesa/main/fbobject.c
> +++ b/src/mesa/main/fbobject.c
> @@ -1919,6 +1919,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)");
> --
> 1.7.10.4
Patches 1-7 are Reviewed-by: Matt Turner <mattst88 at gmail.com> (I guess
with the exception of the two that I wrote?)
More information about the mesa-dev
mailing list