Skip to content

Commit

Permalink
Merge pull request #91426 from semensanyok/fix-gles3-shader-e41064388…
Browse files Browse the repository at this point in the history
…e67cc9bec320ee467757089b150bf20

Fix typo in shader breaking gles3
  • Loading branch information
akien-mga authored May 2, 2024
2 parents f91db3d + e378083 commit 02deedc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gles3/shaders/scene.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -2151,5 +2151,5 @@ void main() {

#ifdef PREMUL_ALPHA_USED
frag_color.rgb *= premul_alpha;
#endif PREMUL_ALPHA_USED
#endif // PREMUL_ALPHA_USED
}

0 comments on commit 02deedc

Please sign in to comment.