From d7b5ea89eb7c103c67806b7d78a841a6c7048e90 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 18 Apr 2016 10:21:36 +0100 Subject: [PATCH] gl: Relay use-es from context to paint data This way we can select the appropriate API or the appropriate shaders. https://bugzilla.gnome.org/show_bug.cgi?id=743746 --- gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index 00a2c78e3f..6052aed284 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -349,6 +349,7 @@ gdk_gl_context_get_paint_data (GdkGLContext *context) { priv->paint_data = g_new0 (GdkGLContextPaintData, 1); priv->paint_data->is_legacy = priv->is_legacy; + priv->paint_data->use_es = priv->use_es; } return priv->paint_data;