From: Jayson Reis Date: Sun, 23 Jul 2023 17:19:15 +0000 (+0200) Subject: gdk: Remove a leftover reference to the renamed variable prefers_high_depth X-Git-Tag: archive/raspbian/4.12.4+ds-3+rpi1^2~21^2^2~30^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c58913f6a23fb970b6f65d2215a019abac1e807;p=gtk4.git gdk: Remove a leftover reference to the renamed variable prefers_high_depth (cherry picked from commit aa888c0b3f775776fe3b71028396b7a8c6adb1d6) --- 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));