mirror of
https://github.com/godotengine/godot
synced 2024-10-06 15:45:16 +00:00
fix typo in e41064388e
breaking gles3
This commit is contained in:
parent
f91db3dc58
commit
e378083fa5
|
@ -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