cogl/gl-framebuffer: Remove hard coding type name

Either "onscreen" or "offscreen" was logged as the type; replace this
with the actual type name.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1514>
This commit is contained in:
Jonas Ådahl 2020-10-20 15:08:49 +02:00 committed by Robert Mader
parent b07994b606
commit 9a21f97ce1
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ ensure_bits_initialized (CoglGlFramebufferBack *gl_framebuffer_back)
COGL_NOTE (FRAMEBUFFER,
"RGBA/D/S Bits for framebuffer[%p, %s]: %d, %d, %d, %d, %d, %d",
framebuffer,
COGL_IS_OFFSCREEN (framebuffer) ? "offscreen" : "onscreen",
G_OBJECT_TYPE_NAME (framebuffer),
bits->red,
bits->blue,
bits->green,

View File

@ -148,7 +148,7 @@ ensure_bits_initialized (CoglGlFramebufferFbo *gl_framebuffer_fbo)
COGL_NOTE (FRAMEBUFFER,
"RGBA/D/S Bits for framebuffer[%p, %s]: %d, %d, %d, %d, %d, %d",
framebuffer,
COGL_IS_OFFSCREEN (framebuffer) ? "offscreen" : "onscreen",
G_OBJECT_TYPE_NAME (framebuffer),
bits->red,
bits->blue,
bits->green,