Merge pull request #91426 from semensanyok/fix-gles3-shader-e41064388e67cc9bec320ee467757089b150bf20
Fix typo in shader breaking gles3
This commit is contained in:
commit
02deedc02b
1 changed files with 2 additions and 2 deletions
|
@ -1444,7 +1444,7 @@ void main() {
|
||||||
vec2 anisotropy_flow = vec2(1.0, 0.0);
|
vec2 anisotropy_flow = vec2(1.0, 0.0);
|
||||||
#ifdef PREMUL_ALPHA_USED
|
#ifdef PREMUL_ALPHA_USED
|
||||||
float premul_alpha = 1.0;
|
float premul_alpha = 1.0;
|
||||||
#endif PREMUL_ALPHA_USED
|
#endif // PREMUL_ALPHA_USED
|
||||||
#ifndef FOG_DISABLED
|
#ifndef FOG_DISABLED
|
||||||
vec4 fog = vec4(0.0);
|
vec4 fog = vec4(0.0);
|
||||||
#endif // !FOG_DISABLED
|
#endif // !FOG_DISABLED
|
||||||
|
@ -2151,5 +2151,5 @@ void main() {
|
||||||
|
|
||||||
#ifdef PREMUL_ALPHA_USED
|
#ifdef PREMUL_ALPHA_USED
|
||||||
frag_color.rgb *= premul_alpha;
|
frag_color.rgb *= premul_alpha;
|
||||||
#endif PREMUL_ALPHA_USED
|
#endif // PREMUL_ALPHA_USED
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue