feat(sdl): add LV_SDL_DIRECT_EXIT

fixes #4250
This commit is contained in:
Gabor Kiss-Vamosi
2023-05-29 12:40:04 +02:00
parent bfbc9503e4
commit ec2acbe091
3 changed files with 19 additions and 1 deletions

View File

@@ -774,6 +774,7 @@
#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
#define LV_SDL_PARTIAL_MODE 0 /*Recommended only to emulate a setup with a display controller*/
#define LV_SDL_FULLSCREEN 0
#define LV_SDL_DIRECT_EXIT 1 /*1: Exit the application when all SDL widows are closed*/
#endif
/*Driver for /dev/fb*/