Shader: Fix compile issue (thanks again Mesa!)
This commit is contained in:
parent
5863e14953
commit
b756fa5526
|
@ -27,7 +27,7 @@ void main()
|
||||||
float at = ab*as;
|
float at = ab*as;
|
||||||
resFrag.a = at + ad - ad*at;
|
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;
|
gl_FragColor = resFrag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue