Skip to content

Commit

Permalink
PicoVector: Initialise pp_transform().
Browse files Browse the repository at this point in the history
For some reason this was unset causing drawing to fail.

Reset it to a known good state in the constructor.
  • Loading branch information
Gadgetoid committed Dec 11, 2024
1 parent 12ed706 commit 301fb87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/pico_vector/pico_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 301fb87

Please sign in to comment.