We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70871ee commit cb2f011Copy full SHA for cb2f011
Zframework/doGC.lua
@@ -43,7 +43,7 @@ return function(L)
43
::REPEAT_tryAgain::
44
local success,canvas=pcall(gc.newCanvas,math.min(L[1],sizeLimit),math.min(L[2],sizeLimit))
45
if not success then
46
- texturesize=math.floor(texturesize*.8)
+ sizeLimit=math.floor(sizeLimit*.8)
47
goto REPEAT_tryAgain
48
end
49
gc.setCanvas(canvas)
0 commit comments