From 49c84f099a71a64571df0022b809198c77ea40ff Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 30 Mar 2022 22:11:28 +0300 Subject: [PATCH] rsx/glsl: Fixup --- rpcs3/Emu/RSX/Program/GLSLCommon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"