We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a84c8 commit cad385eCopy full SHA for cad385e
test/draw_test.py
@@ -1072,7 +1072,7 @@ def _create_surfaces():
1072
for size in ((49, 49), (50, 50)):
1073
for depth in (8, 16, 24, 32):
1074
for flags in (0, SRCALPHA):
1075
- surface = pygame.display.set_mode(size, flags)
+ surface=pygame.Surface(size, depth=depth)
1076
surfaces.append(surface)
1077
surfaces.append(surface.convert_alpha())
1078
return surfaces
0 commit comments