From: notaz Date: Sat, 7 Mar 2026 00:42:59 +0000 (+0200) Subject: gpulib: rm old clipping code X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773eac8f254e732cd6ea0fb9a17df83df5a5bc67;p=pcsx_rearmed.git gpulib: rm old clipping code not needed since cdc1d78f3e3e22c45e8461368b3aa58fce23c09c libretro/pcsx_rearmed#912 --- diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 90c44cb3..703d4905 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -98,17 +98,6 @@ int vout_update(struct psx_gpu *gpu, int src_x, int src_y) src_x2 *= 2; } - if (src_y + h > vram_h) { - if (src_y + h - vram_h > h / 2) { - // wrap - h -= vram_h - src_y; - src_y = 0; - } - else - // clip - h = vram_h - src_y; - } - // gpu_unai skips drawing odd lines if (h > 256 && gpu->state.downscale_enable && (src_y & 1)) src_y++;