We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aad0ec commit 7fa39f7Copy full SHA for 7fa39f7
util.lua
@@ -326,7 +326,9 @@ if util.compareLOVEVersion(11, 3) >= 0 then
326
-- As of that commit, workaround shader to prevent black
327
-- fridges is no longer necessary. For compatibility of
328
-- previous LOVE versions, this function does nothing.
329
- util.drawText = setmetatable({}, {__call = function() end})
+ util.drawText = setmetatable({}, {__call = function(self, ...)
330
+ return love.graphics.draw(...)
331
+ end})
332
else
333
util.drawText = setmetatable({workaroundShader = nil}, {
334
__call = function(self, text, ...)
0 commit comments