Shader: Fix compile issue (thanks again Mesa!)

This commit is contained in:
Jonas Kulla 2013-11-02 15:27:51 +01:00
parent 5863e14953
commit b756fa5526
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ void main()
float at = ab*as;
resFrag.a = at + ad - ad*at;
resFrag.rgb = as*srcFrag.rgb + (1-at) * ad * dstFrag.rgb;
resFrag.rgb = as*srcFrag.rgb + (1.0-at) * ad * dstFrag.rgb;
gl_FragColor = resFrag;
}