We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import math import pygame pygame.init() surf = pygame.Surface((500,500)) print("Starting") pygame.draw.line(surf, "black", (0, 0), (math.nan, 100)) print("Done!")
This test script makes pygame-ce completely unresponsive, it can't even be CTRL-Ced.
I haven't looked into other draw functions.
The text was updated successfully, but these errors were encountered:
Originally reported by lucy at https://discord.com/channels/772505616680878080/772940667231928360/1358118921626059112, but I also ran into it testing #3402
Sorry, something went wrong.
I noticed something similar in one of my recent apps, especially if all points of pygame.draw.lines are nan.
No branches or pull requests
This test script makes pygame-ce completely unresponsive, it can't even be CTRL-Ced.
I haven't looked into other draw functions.
The text was updated successfully, but these errors were encountered: