aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib/vout_pl.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpulib/vout_pl.c')
-rw-r--r--plugins/gpulib/vout_pl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c
index 11307e2..7b229db 100644
--- a/plugins/gpulib/vout_pl.c
+++ b/plugins/gpulib/vout_pl.c
@@ -72,8 +72,8 @@ void vout_update(void)
if (y + h > vram_h) {
if (y + h - vram_h > h / 2) {
// wrap
- y = 0;
h -= vram_h - y;
+ y = 0;
}
else
// clip