Skip to content

Commit 71b233b

Browse files
committed
reset window viewport from drawing command
1 parent dad7fd5 commit 71b233b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/draw/test_drawing_primitives.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ def test_draw_primitives(window):
66
Render the screen.
77
"""
88
window.background_color = arcade.color.WHITE
9+
window.viewport = (0, 0, window.width, window.height)
910
window.clear()
1011

1112
# Draw a grid

0 commit comments

Comments
 (0)