lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
290 stars 309 forks source link

define SDL_MAIN_HANDLED? #272

Open rambo-panda opened 1 year ago

rambo-panda commented 1 year ago

When using SDL, should SDL_MAIN_HANDLED definition be added?

 #if USE_SDL || USE_SDL_GPU

+#define SDL_MAIN_HANDLED // To fix SDL's "undefined reference toWinMain"
 #include SDL_INCLUDE_PATH
kisvegabor commented 1 year ago

It's added in this project but it might be really useful to add it in lv_drv_conf.h.

Please send a Pull request.

stale[bot] commented 1 year ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.