Fix cylinder and sphere fragment shader. Opacities are already pre-multiplied.

svn path=/trunk/KDE/kdebase/workspace/; revision=867666
This commit is contained in:
Lucas Murray 2008-10-04 06:20:22 +00:00
parent 893c2c4c1d
commit 912d458110

View file

@ -11,5 +11,4 @@ vec2 pix2tex(vec2 pix)
void main()
{
gl_FragColor.rgba = texture2D(winTexture, pix2tex(gl_TexCoord[0].xy)).rgba;
gl_FragColor.a *= opacity;
}