Skip to content

Commit

Permalink
feat(sdl): use SDL_Delay for delay callback (#7243)
Browse files Browse the repository at this point in the history
  • Loading branch information
take-cheeze authored Nov 7, 2024
1 parent a875298 commit f94b34f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/sdl/lv_sdl_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ lv_display_t * lv_sdl_window_create(int32_t hor_res, int32_t ver_res)
SDL_StartTextInput();
event_handler_timer = lv_timer_create(sdl_event_handler, 5, NULL);
lv_tick_set_cb(SDL_GetTicks);
lv_delay_set_cb(SDL_Delay);

inited = true;
}
Expand Down

0 comments on commit f94b34f

Please sign in to comment.