Skip to content

Commit 84b2dab

Browse files
committed
Remove undefined variable
Update math_test.py Somehow more formatting? alr, this is buggy What is happening?
1 parent 65a256d commit 84b2dab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/aliens.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,15 +314,13 @@ def main(winstyle=0):
314314
print("Changing to FULLSCREEN")
315315
screen_backup = screen.copy()
316316
screen = pygame.display.set_mode(
317-
SCREENRECT.size, winstyle | pygame.FULLSCREEN, bestdepth
317+
SCREENRECT.size, winstyle | pygame.FULLSCREEN
318318
)
319319
screen.blit(screen_backup, (0, 0))
320320
else:
321321
print("Changing to windowed mode")
322322
screen_backup = screen.copy()
323-
screen = pygame.display.set_mode(
324-
SCREENRECT.size, winstyle, bestdepth
325-
)
323+
screen = pygame.display.set_mode(SCREENRECT.size, winstyle)
326324
screen.blit(screen_backup, (0, 0))
327325
pygame.display.flip()
328326
fullscreen = not fullscreen

0 commit comments

Comments
 (0)