From 301fb87c8724776f06447d0166f9b70381718538 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 11 Dec 2024 12:47:23 +0000 Subject: [PATCH] PicoVector: Initialise pp_transform(). For some reason this was unset causing drawing to fail. Reset it to a known good state in the constructor. --- libraries/pico_vector/pico_vector.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/pico_vector/pico_vector.hpp b/libraries/pico_vector/pico_vector.hpp index 6c70bbe5b..3c5eb4913 100644 --- a/libraries/pico_vector/pico_vector.hpp +++ b/libraries/pico_vector/pico_vector.hpp @@ -47,6 +47,8 @@ namespace pimoroni { _pp_nodes = pp_nodes; _pp_node_counts = pp_node_counts; + pp_transform(NULL); + pp_tile_callback(PicoVector::tile_callback); set_antialiasing(graphics->supports_alpha_blend() ? PP_AA_X4 : PP_AA_NONE);