1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

rsx/glsl: Fixup

This commit is contained in:
kd-11 2022-03-30 22:11:28 +03:00 committed by kd-11
parent 43b267ea51
commit 49c84f099a

View File

@ -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"