Merge branch 'wip/otte/for-main' into 'main'

demos: shadertoy only handles GL

See merge request GNOME/gtk!6976
This commit is contained in:
Benjamin Otte 2024-03-03 22:38:22 +00:00
commit 5e6aff69c6

View File

@ -116,7 +116,9 @@ static gboolean gtk_shadertoy_tick (GtkWidget *widget,
GtkWidget *
gtk_shadertoy_new (void)
{
return g_object_new (gtk_shadertoy_get_type (), NULL);
return g_object_new (gtk_shadertoy_get_type (),
"allowed-apis", GDK_GL_API_GL,
NULL);
}
static void