[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
This commit is contained in:
Adel Gadllah 2010-09-11 21:41:47 +02:00
parent 246d9f1357
commit 687bfbb081

View File

@ -1,4 +1,4 @@
#version 100
#version 110
uniform sampler2D sampler0;
uniform float fraction;
uniform float height;