Doesn't work for me, either.
change that line to:
surf = pygame.Surface((800, 400))

Reply via email to