Pārlūkot izejas kodu

Call collectgarbage() after love.resize.

Sasha Szpakowski 7 mēneši atpakaļ
vecāks
revīzija
5d514718b8
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/modules/love/callbacks.lua

+ 1 - 0
src/modules/love/callbacks.lua

@@ -114,6 +114,7 @@ function love.createhandlers()
 		end,
 		resize = function (w, h)
 			if love.resize then return love.resize(w, h) end
+			collectgarbage()
 		end,
 		filedropped = function (f, x, y)
 			if love.filedropped then return love.filedropped(f, x, y) end