GPU: Fix GLSL compilation on OpenGL backend.

Regression in {d0f55aa671f7}
This commit is contained in:
Jeroen Bakker 2023-01-30 12:23:02 +01:00
parent 411345757c
commit 0da74d3ee9
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ mat4x4 invert(mat4x4 mat, out bool r_success)
return r_success ? inverse(mat) : mat4x4(0.0);
}
# ifdef GPU_METAL
# if defined(GPU_OPENGL) || defined(GPU_METAL)
vec2 normalize(vec2 a)
{
return a * inversesqrt(length_squared(a));