Skip to content

Commit 7fe4c2c

Browse files
committed
Fix MRT: Fix LOVE 0.10.0 compatibility.
1 parent 938762a commit 7fe4c2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fixmrt.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
-- This script patches LOVE rendering pipeline to workaround MRT bandwidth problem in some GPU drivers.
33
-- See: https://github.com/love2d/love/commit/1896f82f5d40d33a551f7c5fd9662db3b4ccdf31
44

5-
if love._version >= "11.3" then
6-
-- Already fixed in this version
5+
if love.getVersion() < 11 or love._version >= "11.3" then
6+
-- LOVE pre-11.0 does not have this problem.
7+
-- LOVE 11.3 already have this problem worked around.
78
return true
89
end
910

0 commit comments

Comments
 (0)