diff --git a/rpcs3/Emu/RSX/Program/GLSLCommon.cpp b/rpcs3/Emu/RSX/Program/GLSLCommon.cpp index c7684e9818..4701d5dcec 100644 --- a/rpcs3/Emu/RSX/Program/GLSLCommon.cpp +++ b/rpcs3/Emu/RSX/Program/GLSLCommon.cpp @@ -954,7 +954,7 @@ namespace glsl " else if (actual_step.x < uv_step.x)\n" " {\n" " // Upscale in X\n" - " factor = frac(normalized_coords.x * image_size.x);\n" + " factor = fract(normalized_coords.x * image_size.x);\n" " a = mix(sample0, sample1, factor);\n" " b = mix(sample2, sample3, factor);\n" " }\n" @@ -974,7 +974,7 @@ namespace glsl " else if (actual_step.y < uv_step.y)\n" " {\n" " // Upscale in Y\n" - " factor = frac(normalized_coords.y * image_size.y);\n" + " factor = fract(normalized_coords.y * image_size.y);\n" " return mix(a, b, factor);\n" " }\n" " else\n"