-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
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
Add default dest (0, 0) to Surface.blit #2936
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR 🎉
This is an API change so I would like to have more eyes on this PR before we merge it in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, should make it a bit faster as well in theory, and allows for shorter code.
Implements #2935
I'm not sure if you want this to be added, personally I like it. I didn't discuss it because the implementation seemed pretty simple, so even if you don't want it it's not a big deal.
The reasoning for it can be understood in the issue description.
I only modified blit and not blits/fblits, but I'm pretty sure I can add it to them too if you want, but for now I don't think it's a good idea.