From 687bfbb081486ac9174add0624fe8436d4b5e54d Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sat, 11 Sep 2010 21:41:47 +0200 Subject: [PATCH] [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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/shaders/dim-window.glsl b/data/shaders/dim-window.glsl index 9099b041e..935c8e239 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;