From fb50015519bee516f7a83c64034d11cd9a606246 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 30 Oct 2014 11:46:09 +0100 Subject: GdkGLContext: Change the way we track the current context To properly support multithreaded use we use a global GPrivate to track the current context. Since we also don't need to track the current context on the display we move gdk_display_destroy_gl_context to GdkGLContext::discard. --- gdk/gdkglcontextprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdk/gdkglcontextprivate.h') diff --git a/gdk/gdkglcontextprivate.h b/gdk/gdkglcontextprivate.h index c7b6937ba6..fcb82a8345 100644 --- a/gdk/gdkglcontextprivate.h +++ b/gdk/gdkglcontextprivate.h @@ -40,7 +40,7 @@ struct _GdkGLContextClass { GObjectClass parent_class; - void (* update) (GdkGLContext *context); + void (* update) (GdkGLContext *context); void (* end_frame) (GdkGLContext *context, cairo_region_t *painted, cairo_region_t *damage); -- cgit v1.2.1