Thanks @nickhubben! Checking whether textures are allocated before calling the drawing functions did the job, apparently draw() was called before setup() (where the textures were loaded and allocated) was finished.
↧
Thanks @nickhubben! Checking whether textures are allocated before calling the drawing functions did the job, apparently draw() was called before setup() (where the textures were loaded and allocated) was finished.