x11: Add a forgotten empty_frame implementation

This was causing warnings when using GLX.
This commit is contained in:
Matthias Clasen 2024-01-06 08:59:04 -05:00
parent 854910cc17
commit 3f513f3cc7

View File

@ -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