From 7fe4c2c89b1771ccbceb3e45d2b3a35dfd5dfdee Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Sat, 15 Feb 2020 21:53:43 +0800 Subject: [PATCH] Fix MRT: Fix LOVE 0.10.0 compatibility. --- fixmrt.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fixmrt.lua b/fixmrt.lua index 76934e07..3ce13e8a 100644 --- a/fixmrt.lua +++ b/fixmrt.lua @@ -2,8 +2,9 @@ -- This script patches LOVE rendering pipeline to workaround MRT bandwidth problem in some GPU drivers. -- See: https://github.com/love2d/love/commit/1896f82f5d40d33a551f7c5fd9662db3b4ccdf31 -if love._version >= "11.3" then - -- Already fixed in this version +if love.getVersion() < 11 or love._version >= "11.3" then + -- LOVE pre-11.0 does not have this problem. + -- LOVE 11.3 already have this problem worked around. return true end