Skip to content

Commit

Permalink
set the correct version check for SDL_HINT_RENDER_METAL_PREFER_LOW_PO…
Browse files Browse the repository at this point in the history
…WER_DEVICE
  • Loading branch information
Lundis authored Jul 27, 2024
1 parent 7e08d82 commit ac82643
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdl/hints.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ package sdl
#define SDL_HINT_JOYSTICK_IOKIT ""
#define SDL_HINT_JOYSTICK_MFI ""
#endif
#if !(SDL_VERSION_ATLEAST(2,28,3))
#define SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE ""
#endif
Expand Down

0 comments on commit ac82643

Please sign in to comment.