From aa888c0b3f775776fe3b71028396b7a8c6adb1d6 Mon Sep 17 00:00:00 2001 From: Jayson Reis Date: Sun, 23 Jul 2023 19:19:15 +0200 Subject: [PATCH] gdk: Remove a leftover reference to the renamed variable prefers_high_depth --- gdk/macos/gdkmacosglcontext-private.h | 4 +--- gdk/macos/gdkmacosglcontext.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gdk/macos/gdkmacosglcontext-private.h b/gdk/macos/gdkmacosglcontext-private.h index 4e83e5cb0e..95966a4c12 100644 --- a/gdk/macos/gdkmacosglcontext-private.h +++ b/gdk/macos/gdkmacosglcontext-private.h @@ -27,9 +27,7 @@ #include "gdkmacosdisplay.h" #include "gdkmacossurface.h" -#import -#import -#import +#import G_BEGIN_DECLS diff --git a/gdk/macos/gdkmacosglcontext.c b/gdk/macos/gdkmacosglcontext.c index 87e6e19fe0..a706a407b5 100644 --- a/gdk/macos/gdkmacosglcontext.c +++ b/gdk/macos/gdkmacosglcontext.c @@ -21,7 +21,6 @@ #include "gdkconfig.h" -#include #include #include @@ -499,7 +498,7 @@ gdk_macos_gl_context_begin_frame (GdkDrawContext *context, gdk_gl_context_make_current (GDK_GL_CONTEXT (self)); gdk_macos_gl_context_allocate (self); - GDK_DRAW_CONTEXT_CLASS (gdk_macos_gl_context_parent_class)->begin_frame (context, prefers_high_depth, region); + GDK_DRAW_CONTEXT_CLASS (gdk_macos_gl_context_parent_class)->begin_frame (context, depth, region); gdk_gl_context_make_current (GDK_GL_CONTEXT (self)); CHECK_GL (NULL, glBindFramebuffer (GL_FRAMEBUFFER, self->fbo));