[gnome-shell] st/scroll-view: Ensure float are used explictly



commit d9e953e93ca3df38600f0286bf58a8d0e6812e7d
Author: Frederic Crozat <fcrozat suse com>
Date:   Fri Apr 16 14:09:23 2021 +0200

    st/scroll-view: Ensure float are used explictly
    
    Pineview needs explicit float to prevent error when shader is compiled.
    
    Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4127
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1815>

 src/st/st-scroll-view-fade.glsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/st/st-scroll-view-fade.glsl b/src/st/st-scroll-view-fade.glsl
index 264f3bcd72..0d8812b078 100644
--- a/src/st/st-scroll-view-fade.glsl
+++ b/src/st/st-scroll-view-fade.glsl
@@ -70,6 +70,6 @@ void main ()
 
         cogl_color_out *= ratio;
     } else {
-        cogl_color_out *= 0;
+        cogl_color_out *= 0.0;
     }
 }


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