[gtk+/wip/ebassi/gles: 4/26] gl: Relay use-es from context to paint data



commit f73d94841263dc9f3622d39d9618f83bb817779e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Apr 18 10:21:36 2016 +0100

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 00a2c78..6052aed 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]