diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-30 12:15:51 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-10-30 12:43:03 +0100 |
commit | f0ae8da99378adcd89587b5ce702de0a179753f2 (patch) | |
tree | b806e86ada63be5f5079d45e8ecc2c1b61a7baf7 /gdk/wayland/gdkglcontext-wayland.c | |
parent | ad30262fef6b1977b08b4f84749183c6fbbe7fa8 (diff) | |
download | gtk+-f0ae8da99378adcd89587b5ce702de0a179753f2.tar.gz |
Remove GdkGLContext::visual
This is not really needed. The gl context is totally tied to the
window it is created from by virtue of sharing the context with the
paint context of that window and that context always has the visual
of the window (which we already can get).
Also, all user visible contexts are essentially offscreen contexts, so
a visual doesn't make sense for them. They only use FBOs which have
whatever format that the users sets up.
Diffstat (limited to 'gdk/wayland/gdkglcontext-wayland.c')
-rw-r--r-- | gdk/wayland/gdkglcontext-wayland.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdk/wayland/gdkglcontext-wayland.c b/gdk/wayland/gdkglcontext-wayland.c index ee8782d3ea..7af884e7f0 100644 --- a/gdk/wayland/gdkglcontext-wayland.c +++ b/gdk/wayland/gdkglcontext-wayland.c @@ -363,7 +363,6 @@ gdk_wayland_window_create_gl_context (GdkWindow *window, context = g_object_new (GDK_TYPE_WAYLAND_GL_CONTEXT, "window", window, - "visual", gdk_window_get_visual (window), "shared-context", share, NULL); |