Skip to content

Commit

Permalink
docs: Fix outdated headless example (#2436)
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf authored Oct 25, 2024
1 parent 1c5a182 commit ce177ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/programming_guide/headless.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit ce177ba

Please sign in to comment.