[gtk/wip/chergert/gdk-macos-gl-renderer: 19/26] macos: use g_message() for GL info
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/gdk-macos-gl-renderer: 19/26] macos: use g_message() for GL info
- Date: Thu, 29 Oct 2020 00:12:13 +0000 (UTC)
commit 66013ff71e36ab3e91a0ea94809a340951a28113
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 28 13:10:15 2020 -0700
macos: use g_message() for GL info
This stays consistent with GdkGLContext.
gdk/macos/gdkmacosglcontext.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gdk/macos/gdkmacosglcontext.c b/gdk/macos/gdkmacosglcontext.c
index 830ad87d62..8236c084fe 100644
--- a/gdk/macos/gdkmacosglcontext.c
+++ b/gdk/macos/gdkmacosglcontext.c
@@ -157,8 +157,9 @@ gdk_macos_gl_context_real_realize (GdkGLContext *context,
[gl_context makeCurrentContext];
- GDK_NOTE (OPENGL,
- g_print ("Created NSOpenGLContext[%p]\n", gl_context));
+ GDK_DISPLAY_NOTE (gdk_draw_context_get_display (GDK_DRAW_CONTEXT (context)),
+ OPENGL,
+ g_message ("Created NSOpenGLContext[%p]", gl_context));
self->gl_context = g_steal_pointer (&gl_context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]