[gnome-shell] [windowDimmer] Bump GLSL version to 1.10



commit 687bfbb081486ac9174add0624fe8436d4b5e54d
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Sep 11 21:41:47 2010 +0200

    [windowDimmer] Bump GLSL version to 1.10
    
    The shader currently forces GLSL 1.0 to avoid being incompatible with older hardware but is still using features not available in 1.0.
    
    Strict compilers fail to compile the shader:
    
    error C7506: OpenGL/ES does not define the global variable gl_TexCoord
    
    As every hardware/driver that supports 1.0 also supports 1.10 bumping the version to fix it is safe.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=629343

 data/shaders/dim-window.glsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/shaders/dim-window.glsl b/data/shaders/dim-window.glsl
index 9099b04..935c8e2 100644
--- a/data/shaders/dim-window.glsl
+++ b/data/shaders/dim-window.glsl
@@ -1,4 +1,4 @@
-#version 100
+#version 110
 uniform sampler2D sampler0;
 uniform float fraction;
 uniform float height;



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