Pygame.image.load does not display pictures under Mac

... 
...
...
...

pygame.display.update ()

# Game loop
while True:
"" "Solve the problem that the background image is not loaded under the MAC" ""
event = pygame.event.poll ( )
if event.type == pygame.QUIT:
pygame.quit ()
exit ()

Guess you like

Origin www.cnblogs.com/minost/p/12709929.html