From f985e1925f202078ca3c7ea693be2d8866636915 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 28 Feb 2016 12:50:32 +0100 Subject: [PATCH] Fix SBS for non-1280x720 resolutions. --- theme.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/theme.lua b/theme.lua index aca8c4e..1b874dc 100644 --- a/theme.lua +++ b/theme.lua @@ -633,6 +633,9 @@ function place_rectangle(resample_effect, resize_effect, padding_effect, x0, y0, local srcy0 = 0.0 local srcy1 = 1.0 + padding_effect:set_int("width", screen_width) + padding_effect:set_int("height", screen_height) + -- Cull. if x0 > screen_width or x1 < 0.0 or y0 > screen_height or y1 < 0.0 then resample_effect:set_int("width", 1) -- 2.39.2