[gtk/wip/chergert/gdk-macos-gl-renderer: 13/26] macos: chainup end_frame before flushing buffer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/gdk-macos-gl-renderer: 13/26] macos: chainup end_frame before flushing buffer
- Date: Thu, 29 Oct 2020 00:12:12 +0000 (UTC)
commit 5938e507e332e22c5bb19da4f9ab0435780947c3
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 27 13:31:23 2020 -0700
macos: chainup end_frame before flushing buffer
gdk/macos/gdkmacosglcontext.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gdk/macos/gdkmacosglcontext.c b/gdk/macos/gdkmacosglcontext.c
index e5ab1e2fa2..240c102bb3 100644
--- a/gdk/macos/gdkmacosglcontext.c
+++ b/gdk/macos/gdkmacosglcontext.c
@@ -201,6 +201,8 @@ gdk_macos_gl_context_end_frame (GdkDrawContext *context,
g_assert (GDK_IS_MACOS_GL_CONTEXT (self));
g_assert (self->gl_context != nil);
+ GDK_DRAW_CONTEXT_CLASS (gdk_macos_gl_context_parent_class)->end_frame (context, painted);
+
[self->gl_context flushBuffer];
surface = GDK_MACOS_SURFACE (gdk_draw_context_get_surface (context));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]