Skip to content

Conversation

@madebr
Copy link
Contributor

@madebr madebr commented Mar 20, 2025

SDL_SetWindowBrightness and SDL_SetWindowGammaRamp are not available anymore in SDL3,
so fail when used in sdl2-compat.

PR Description

Merge Checklist

  • the PR has been reviewed and all comments are resolved
  • all CI checks pass
  • (if applicable): the PR description includes the phrase closes #<issue-number> to automatically close an issue
  • (if applicable): bug fixes, new features, or API changes are documented in news.rst

@a-hurst
Copy link
Member

a-hurst commented Mar 20, 2025

Looks good to me, thanks! The test failure looks like it's due to me just updating the pysdl2-dll binary package since your last PR (serves me right for not pinning the package version in CI runners), so I'll fix that separately.

@a-hurst a-hurst merged commit 8920823 into py-sdl:master Mar 20, 2025
64 of 66 checks passed
@madebr madebr deleted the SetWindowGammaRamp-and-SetWindowBrightness-can-fail branch March 20, 2025 21:20
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.

2 participants