From 1ed1a3067b5fad7a751842d4cfa8c0b16a325bc2 Mon Sep 17 00:00:00 2001 From: Jordan Schidlowsky Date: Tue, 23 Aug 2022 20:51:07 -0600 Subject: [PATCH] workaround for angle project issue 7245, safari, iOS --- drivers/gles3/shaders/particles.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gles3/shaders/particles.glsl b/drivers/gles3/shaders/particles.glsl index 570e54e56dc..b09e7faaaeb 100644 --- a/drivers/gles3/shaders/particles.glsl +++ b/drivers/gles3/shaders/particles.glsl @@ -211,7 +211,7 @@ VERTEX_SHADER_CODE xform = transpose(xform); - out_velocity_active.a = mix(0.0, 1.0, shader_active); + out_velocity_active.a = float(shader_active); out_xform_1 = xform[0]; out_xform_2 = xform[1];