Charlie Hayden
Charlie Hayden
I suspect that this would be fixed with a more up to date version of SDL. Try “pip install pygame==2.1.3.dev4” Or try grabbing a prebuilt from main.
Says so in the support prompt: > pygame 2.1.3.dev4 (SDL 2.0.20, Python 3.10.6) Try a wheel from this page: https://github.com/pygame/pygame/actions/runs/2954328519 download the artifacts pick out the correct wheel for your...
Thanks for putting the idea out. It's kinda funny you say that, since I've thought in the past about making a version of blit that is more performant, by using...
The new kwargs are not out of nowhere, they should be the same set as all rect attributes that accept a pair of numbers. But the list looks good, everything...
Interesting. I'm not opposed to your idea Ankith.
> Well, this PR can still break things, tested locally (pygame main, without this PR) Alrighty, your automated scan is far better than my quick visual scan, I see :smile:...
> What I can do is add regular as a mod, but in the sysfont constructor on windows, add an additional check for if the name minus "regular" is in...
If you're trying to do a "restricted" blit function for higher performance, you could remove keyword arguments and use METH_FASTCALL as your type of python function. (Removing keywords because there...
METH_FASTCALL doesn't give you a pyobject args pointer. It gives you a c array of pyobjects and a py_ssize_t number of arguments in said array.
```c blitsequence = &((*args)[0]); special_flags = &((*args)[1]); ``` -> ```c blitsequence = args[0]; special_flags = args[1]; ``` You're trying to get pyobject pointers out of an array of pyobject pointers,...