From ce177ba06c4cd0c9a47a6539803dd6d92da8780f Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Fri, 25 Oct 2024 23:12:54 +0200 Subject: [PATCH] docs: Fix outdated headless example (#2436) --- doc/programming_guide/headless.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/programming_guide/headless.rst b/doc/programming_guide/headless.rst index 7ac7aba68..1a20d142e 100644 --- a/doc/programming_guide/headless.rst +++ b/doc/programming_guide/headless.rst @@ -143,7 +143,7 @@ in a loop until you close the window. def on_draw(self): self.clear() - self.sprite.draw() + arcade.draw_sprite(self.sprite) # Dump the window framebuffer to disk image = arcade.get_image(0, 0, *self.get_size())