Skip to content

Commit f0bd2a7

Browse files
converting was superfluous actully
1 parent ebe72bf commit f0bd2a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/draw_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,8 @@ def _create_surfaces():
10721072
for size in ((49, 49), (50, 50)):
10731073
for depth in (8, 16, 24, 32):
10741074
for flags in (0, SRCALPHA):
1075-
surface = pygame.Surface(size, depth=depth)
1075+
surface = pygame.Surface(size, flags, depth=depth)
10761076
surfaces.append(surface)
1077-
surfaces.append(surface.convert_alpha())
10781077
return surfaces
10791078

10801079
@staticmethod

0 commit comments

Comments
 (0)