Skip to content

Commit

Permalink
Switch to SDL2 blitter for a speed-up
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmauve committed Oct 30, 2021
1 parent ae83c06 commit 92d561c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgzero/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def blit(self, image, pos):
"""
if isinstance(image, str):
image = loaders.images.load(image)
self.surface.blit(image, pos)
self.surface.blit(image, pos, None, pygame.BLEND_ALPHA_SDL2)

@property
def draw(self):
Expand Down

0 comments on commit 92d561c

Please sign in to comment.