From e4eb6f837db5c89909f423d3be82a9cdd0e2e397 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 5 May 2020 17:19:34 +0530 Subject: [PATCH] Mark quad dirty on changing plane bitmap This fixes crashes on Emscripten build --- src/plane.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plane.cpp b/src/plane.cpp index e3de3a0..baca375 100644 --- a/src/plane.cpp +++ b/src/plane.cpp @@ -180,6 +180,7 @@ void Plane::setBitmap(Bitmap *value) return; value->ensureNonMega(); + p->quadSourceDirty = true; } void Plane::setOX(int value)