Work around a bug in the GLSL compiler in Mesa 7.9.
BUG: 255230 FIXED-IN: 4.5.3 svn path=/trunk/KDE/kdebase/workspace/; revision=1189731
This commit is contained in:
parent
e3e475b214
commit
e56c899fc1
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ void main()
|
|||
if(any(greaterThan(dist, rend-rstart)))
|
||||
discard;//alpha = 0.0;
|
||||
|
||||
vec4 transformedtexcoord = vec4(rstart + dist, vec2(1.0)) * gl_TextureMatrix[0];
|
||||
vec2 const_1 = vec2(1.0); // Needed to work around a bug in the GLSL compiler in mesa 7.9
|
||||
vec4 transformedtexcoord = vec4(rstart + dist, const_1) * gl_TextureMatrix[0];
|
||||
vec3 tex = texture2D(winTexture, transformedtexcoord.xy).rgb;
|
||||
#if 0
|
||||
// ATM we ignore custom opacity values because Fade effect fades out the
|
||||
|
|
Loading…
Reference in a new issue