forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
e1cecd243a
commit
d7b5ea89eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user