Skip to content
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

Update pixelformat to modern format, fix typos #2301

Merged

Conversation

Starbuck5
Copy link
Member

@Starbuck5 Starbuck5 commented Jul 11, 2023

RGB888 is out in SDL3, so we should replace with PG_PIXELFORMAT_XRGB888. XRGB8888 == RGB888 in SDL2, macro exists because XRGB8888 doesn't exist in SDL2 < 2.0.14

Typos originally by me and Yunline :)
Typos found with codespell

RGB888 is out in SDL3, so we should replace with PG_PIXELFORMAT_XRGB888. XRGB8888 == RGB888 in SDL2, macro exists because XRGB8888 doesn't exist in SDL2 < 2.0.14
@Starbuck5 Starbuck5 requested a review from a team as a code owner July 11, 2023 08:15
@Starbuck5 Starbuck5 added the Code quality/robustness Code quality and resilience to changes label Jul 11, 2023
Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 👍

@ankith26 ankith26 merged commit 5ebf22c into pygame-community:main Jul 12, 2023
29 checks passed
@Starbuck5 Starbuck5 deleted the typos-and-pixelformat-update branch July 13, 2023 01:13
@MightyJosip MightyJosip added this to the 2.3.1 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code quality/robustness Code quality and resilience to changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants