Commit 54e63ec4 authored by captnfab's avatar captnfab 🦃
Browse files

Tentative fix for setmode flags on older pygame

parent 8e39919c
......@@ -1941,7 +1941,7 @@ class PyGameUI:
flags = pygame.FULLSCREEN
else:
flags = 0
self.screen2 = pygame.display.set_mode((mx, my), flags=flags)
self.screen2 = pygame.display.set_mode((mx, my), flags)
self.screen2.fill(BLACK)
self.screen = pygame.Surface((WIDTH,HEIGHT))
self.fullscreen = rnd.params['fullscreen']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment