[gnome-shell] st/scroll-view: Ensure float are used explictly
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-shell] st/scroll-view: Ensure float are used explictly
- Date: Fri, 16 Apr 2021 19:27:50 +0000 (UTC)
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]