From 773eac8f254e732cd6ea0fb9a17df83df5a5bc67 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 7 Mar 2026 02:42:59 +0200 Subject: [PATCH] gpulib: rm old clipping code not needed since cdc1d78f3e3e22c45e8461368b3aa58fce23c09c libretro/pcsx_rearmed#912 --- plugins/gpulib/vout_pl.c | 11 ----------- 1 file changed, 11 deletions(-) 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++; -- 2.47.3