Merge pull request #91426 from semensanyok/fix-gles3-shader-e41064388e67cc9bec320ee467757089b150bf20

Fix typo in shader breaking gles3
This commit is contained in:
Rémi Verschelde 2024-05-02 11:15:33 +02:00 committed by GitHub
commit 02deedc02b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1444,7 +1444,7 @@ void main() {
vec2 anisotropy_flow = vec2(1.0, 0.0);
#ifdef PREMUL_ALPHA_USED
float premul_alpha = 1.0;
#endif PREMUL_ALPHA_USED
#endif // PREMUL_ALPHA_USED
#ifndef FOG_DISABLED
vec4 fog = vec4(0.0);
#endif // !FOG_DISABLED
@ -2151,5 +2151,5 @@ void main() {
#ifdef PREMUL_ALPHA_USED
frag_color.rgb *= premul_alpha;
#endif PREMUL_ALPHA_USED
#endif // PREMUL_ALPHA_USED
}