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 f0bd2a7 commit b8b3eb1Copy full SHA for b8b3eb1
test/draw_test.py
@@ -1070,10 +1070,12 @@ def _create_surfaces():
1070
# Create some surfaces with different sizes, depths, and flags.
1071
surfaces = []
1072
for size in ((49, 49), (50, 50)):
1073
+ surface = pygame.Surface(size, SRCALPHA)
1074
+ surfaces.append(surface)
1075
+
1076
for depth in (8, 16, 24, 32):
- for flags in (0, SRCALPHA):
- surface = pygame.Surface(size, flags, depth=depth)
- surfaces.append(surface)
1077
+ surface = pygame.Surface(size, depth=depth)
1078
1079
return surfaces
1080
1081
@staticmethod
0 commit comments