diff --git a/sdl/hints.go b/sdl/hints.go index 2b2e34a8..fc3433f1 100644 --- a/sdl/hints.go +++ b/sdl/hints.go @@ -8,6 +8,9 @@ package sdl #define SDL_HINT_JOYSTICK_IOKIT "" #define SDL_HINT_JOYSTICK_MFI "" +#ifdef SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE +#undef SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE +#endif #define SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE "" #endif