[gtk/snazzy-demo: 4/4] gtk-demo/gltransition: Replace fire background with more mellow blobs
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/snazzy-demo: 4/4] gtk-demo/gltransition: Replace fire background with more mellow blobs
- Date: Wed, 30 Sep 2020 14:26:53 +0000 (UTC)
commit dd56bdd23ae19a9e71b11c2da55d651471189c56
Author: Alexander Larsson <alexl redhat com>
Date: Wed Sep 30 16:26:03 2020 +0200
gtk-demo/gltransition: Replace fire background with more mellow blobs
demos/gtk-demo/demo.gresource.xml | 2 +-
demos/gtk-demo/fire.glsl | 70 ---------------------------------------
demos/gtk-demo/gltransition.c | 2 +-
3 files changed, 2 insertions(+), 72 deletions(-)
---
diff --git a/demos/gtk-demo/demo.gresource.xml b/demos/gtk-demo/demo.gresource.xml
index d279d08af5..2b7cdc0a8a 100644
--- a/demos/gtk-demo/demo.gresource.xml
+++ b/demos/gtk-demo/demo.gresource.xml
@@ -139,7 +139,7 @@
<file>gtkshaderbin.h</file>
<file>gtkshaderbin.c</file>
<file>ripple.glsl</file>
- <file>fire.glsl</file>
+ <file>background.glsl</file>
<file>transition1.glsl</file>
<file>transition2.glsl</file>
<file>transition3.glsl</file>
diff --git a/demos/gtk-demo/gltransition.c b/demos/gtk-demo/gltransition.c
index 9977a317f4..c80b3fcc2b 100644
--- a/demos/gtk-demo/gltransition.c
+++ b/demos/gtk-demo/gltransition.c
@@ -294,7 +294,7 @@ create_gltransition_window (GtkWidget *do_widget)
outer_grid = gtk_grid_new ();
gtk_window_set_child (GTK_WINDOW (window), outer_grid);
- paintable = gsk_shader_paintable_new (gsk_gl_shader_new_from_resource ("/gltransition/fire.glsl"), NULL);
+ paintable = gsk_shader_paintable_new (gsk_gl_shader_new_from_resource ("/gltransition/background.glsl"),
NULL);
background = gtk_picture_new_for_paintable (paintable);
gtk_widget_add_tick_callback (background, update_paintable, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]