From 12972093a8eb1853c4bbe32750e43ec390cfe8c5 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 14 Feb 2023 01:52:15 +0000 Subject: 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 --- client/drawing.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'client/drawing.lua') diff --git a/client/drawing.lua b/client/drawing.lua index e3dc751..e7cb45e 100644 --- a/client/drawing.lua +++ b/client/drawing.lua @@ -91,6 +91,7 @@ local function draw_map(camera,map) draw_hex(_p,colors[t],camera.zoom) end end + love.graphics.flushBatch() end if false and _G.debugmode then -- cgit v1.2.3