[gnome-shell] scroll-view-fade: Use GLSL 1.20



commit c84236ed73fe71f477e09df18eefb986ecd07b14
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 28 17:55:46 2012 -0500

    scroll-view-fade: Use GLSL 1.20
    
    GLSL 1.20 is a better language, and we'll rely on it in future updates.
    This doesn't have any additional constraints, since GLSL 1.20 was
    standardized before GLSL-supporting drivers came out.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689249

 src/st/st-scroll-view-fade.glsl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-scroll-view-fade.glsl b/src/st/st-scroll-view-fade.glsl
index 9248fa6..4b07642 100644
--- a/src/st/st-scroll-view-fade.glsl
+++ b/src/st/st-scroll-view-fade.glsl
@@ -17,6 +17,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#version 120
+
 uniform sampler2D tex;
 uniform float height;
 uniform float width;



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