TheDarkTiger
TheDarkTiger
Weird. Could you post the line you use to run the script? Also, did you try an other image?
I tested you script, and I can confirm, it breaks on my computer too (I uncommented the assert). Both on: - Windows7 - Python 3.10.7 - SDL 2.28.3 - Pygame...
@illume I tried your patch, and it works. I will keep it until pygame fix the regression. Also, I looked a bit, but I will be honest, I didn't search...
Thanks for your nice explanations. I think I ended up using something else in the end, but your solution seems clean, and should be investigated indeed. But seeing as this...
Sweet, almost 3 years latter, the issue is getting fixed! Also, samhocevar, your solution is clean, that's perfect. Thanks.