mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
x11: Add a forgotten empty_frame implementation
This was causing warnings when using GLX.
This commit is contained in:
parent
854910cc17
commit
3f513f3cc7
@ -39,9 +39,17 @@
|
|||||||
|
|
||||||
G_DEFINE_ABSTRACT_TYPE (GdkX11GLContext, gdk_x11_gl_context, GDK_TYPE_GL_CONTEXT)
|
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
|
static void
|
||||||
gdk_x11_gl_context_class_init (GdkX11GLContextClass *klass)
|
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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user