mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
fbobject: add VERBOSE=api message for check framebuffer status
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
1c9833ba70
commit
7f867851f5
1 changed files with 4 additions and 0 deletions
|
|
@ -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)");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue