diff options
author | ubq323 <ubq323@ubq323.website> | 2023-02-14 01:52:15 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-02-14 01:52:17 +0000 |
commit | 12972093a8eb1853c4bbe32750e43ec390cfe8c5 (patch) | |
tree | 5500a85d57e1bd2f032dd8c919030064f08ea3ba /client/main.lua | |
parent | 8eddeb7467fa2557b3b0c8154fd9c3635254a509 (diff) |
add flushBatch to work around crash on some devices due to low vram
this is a workaround until i rework drawing to use instancing instead
Diffstat (limited to 'client/main.lua')
-rw-r--r-- | client/main.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/main.lua b/client/main.lua index 6692e13..27b93f9 100644 --- a/client/main.lua +++ b/client/main.lua @@ -208,6 +208,7 @@ function love.draw() "voob "..tostring(camera.zoom), "-", "fps "..tostring(love.timer.getFPS()), + "ping "..tostring(peer:round_trip_time()) },10,10) end |