Skip to content

Conversation

ankith26
Copy link
Member

@ankith26 ankith26 commented Jun 6, 2025

Some of our unit tests currently fail when SDL2_image doesn't use the libpng backend.

I opened 2 PRs on SDL2_image to fix most of these fails (libsdl-org/SDL_image#560 and libsdl-org/SDL_image#559) but there's still one remaining test that just cannot be fixed easily with the miniz backend (the backend that SDL2_image uses when libpng isn't used). This test tests that PNG images with a palette are saving retaining the exact same palette in the PNG.

For now I will just add a conditional skip in the same style that we use for a few of our mixer/music tests.

@ankith26 ankith26 requested a review from a team as a code owner June 6, 2025 07:58
Copy link
Member

@MightyJosip MightyJosip left a comment

Choose a reason for hiding this comment

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

I see no problems with this change, so +1

@ankith26 ankith26 added this to the 2.5.6 milestone Jun 7, 2025
@ankith26 ankith26 merged commit 3ffbb2a into main Jun 8, 2025
26 checks passed
@ankith26 ankith26 deleted the ankith26-png-pal branch June 8, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants