From 3f513f3cc7a5648400f444fb3a03d825cea4dc18 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Jan 2024 08:59:04 -0500 Subject: [PATCH] x11: Add a forgotten empty_frame implementation This was causing warnings when using GLX. --- gdk/x11/gdkglcontext-x11.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c index d225b79b7c..e6120e9c7b 100644 --- a/gdk/x11/gdkglcontext-x11.c +++ b/gdk/x11/gdkglcontext-x11.c @@ -39,9 +39,17 @@ G_DEFINE_ABSTRACT_TYPE (GdkX11GLContext, gdk_x11_gl_context, GDK_TYPE_GL_CONTEXT) +static void +gdk_x11_gl_context_empty_frame (GdkDrawContext *draw_context) +{ +} + static void gdk_x11_gl_context_class_init (GdkX11GLContextClass *klass) { + GdkDrawContextClass *draw_context_class = GDK_DRAW_CONTEXT_CLASS (klass); + + draw_context_class->empty_frame = gdk_x11_gl_context_empty_frame; } static void