summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontextprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-10-30 11:46:09 +0100
committerAlexander Larsson <alexl@redhat.com>2014-10-30 12:43:03 +0100
commitfb50015519bee516f7a83c64034d11cd9a606246 (patch)
tree9273f19487a89ed8f9416bb74853cf3512081dfd /gdk/gdkglcontextprivate.h
parenteb8f60f141ac50900ddc5b4df8c72ecb31625a89 (diff)
downloadgtk+-fb50015519bee516f7a83c64034d11cd9a606246.tar.gz
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.
Diffstat (limited to 'gdk/gdkglcontextprivate.h')
-rw-r--r--gdk/gdkglcontextprivate.h2
1 files changed, 1 insertions, 1 deletions
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);