Skip to content

Commit

Permalink
I give up
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpfeiffer committed May 23, 2024
1 parent b8b3eb1 commit 34c1e0c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/draw_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,11 @@ def _create_surfaces():
# Create some surfaces with different sizes, depths, and flags.
surfaces = []
for size in ((49, 49), (50, 50)):
surface = pygame.Surface(size, SRCALPHA)
surfaces.append(surface)

for depth in (8, 16, 24, 32):
surface = pygame.Surface(size, depth=depth)
surfaces.append(surface)
for flags in (0, SRCALPHA):
surface = pygame.display.set_mode(size, flags)
surfaces.append(surface)
surfaces.append(surface.convert_alpha())
return surfaces

@staticmethod
Expand Down

0 comments on commit 34c1e0c

Please sign in to comment.