From c34c13e1e0594e47178bffc356824667030d0b81 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sat, 20 Feb 2021 11:18:19 -0600 Subject: [PATCH] fixing rendering bug --- dist/prez.wasm | Bin 38312 -> 38399 bytes src/prez.onyx | 3 +++ 2 files changed, 3 insertions(+) diff --git a/dist/prez.wasm b/dist/prez.wasm index d91e272e8a0b3c1ded2008e051385c8383bd33d6..7978033d617b2b6719fd8ac70c8cabf8b067b557 100644 GIT binary patch delta 160 zcmZ3nn(6;)rVW|QOpB*(&SuW#%znzq$W*V)pv2&4kfp*PVBmOwU*HlWkknubaAa_2 zaZq4TWK>{uW?*Qrw_subvltjGm{{N}4!A52TucDY5^?;&tpU`>Aiy*E15c79qri1W c#~u7Y1Qc~-%r;|U;O16fP+{1d&g<9#0HmrOMF0Q* delta 75 zcmeyrnrX#qrVW|QOlPKS&SuW#6zgMTWULo3a6G^-aETE}YA^*jGPqB!=T(}V%rHl-pA|M0RV`U6@dT% diff --git a/src/prez.onyx b/src/prez.onyx index feea310..18d755a 100644 --- a/src/prez.onyx +++ b/src/prez.onyx @@ -58,6 +58,9 @@ loop :: () -> void #export "loop" { slideshow_update_animation(^the_slideshow); if the_slideshow.current_animation != null { + identity := f32.[ 1, 0, 0, 1, 0, 0 ]; + Canvas.set_transform(canvas, identity); + Canvas.clear(canvas, 0, 0, 0, 1); the_slideshow.current_animation->render(^the_slideshow); } -- 2.25.1