Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/PlatformIO_SDL/src/sdl_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ int user_func(bool* running)

int main(int, char**)
{
#if defined(__APPLE__)
SDL_SetHint(SDL_HINT_MAC_BACKGROUND_APP, "0");
#endif
// The second argument is effective for step execution with breakpoints.
// You can specify the time in milliseconds to perform slow execution that ensures screen updates.
return lgfx::Panel_sdl::main(user_func, 128);
Expand Down
Loading