Skip to content

Commit 301fb87

Browse files
committed
PicoVector: Initialise pp_transform().
For some reason this was unset causing drawing to fail. Reset it to a known good state in the constructor.
1 parent 12ed706 commit 301fb87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/pico_vector/pico_vector.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ namespace pimoroni {
4747
_pp_nodes = pp_nodes;
4848
_pp_node_counts = pp_node_counts;
4949

50+
pp_transform(NULL);
51+
5052
pp_tile_callback(PicoVector::tile_callback);
5153

5254
set_antialiasing(graphics->supports_alpha_blend() ? PP_AA_X4 : PP_AA_NONE);

0 commit comments

Comments
 (0)