diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-30 11:46:09 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-10-30 12:43:03 +0100 |
commit | fb50015519bee516f7a83c64034d11cd9a606246 (patch) | |
tree | 9273f19487a89ed8f9416bb74853cf3512081dfd /gdk/gdkglcontextprivate.h | |
parent | eb8f60f141ac50900ddc5b4df8c72ecb31625a89 (diff) | |
download | gtk+-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.h | 2 |
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); |