[mutter] cogl/gl-framebuffer: Remove hard coding type name
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl/gl-framebuffer: Remove hard coding type name
- Date: Sat, 30 Jan 2021 09:39:51 +0000 (UTC)
commit 9a21f97ce135700acb403a4ffa44bb5e42a3f25a
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue Oct 20 15:08:49 2020 +0200
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>
cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c | 2 +-
cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c b/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c
index cc2510fe5b..d6609bb207 100644
--- a/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c
+++ b/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c
@@ -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,
diff --git a/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c b/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c
index e1cd38792e..c8db6a23a2 100644
--- a/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c
+++ b/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]