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

Add SDL high DPI config #309

Open slightc opened 3 months ago

slightc commented 3 months ago

when I run the simulator on macbook, after reduce the SDL_ZOOM, the screen will become will become extremely blurry, that need add SDL_WINDOW_ALLOW_HIGHDPI flag to resolve it when create SDL Window

image

that result of add SDL_WINDOW_ALLOW_HIGHDPI flag

image

so, I think could add SDL_HIGHDPI micro define to config the flag?

Hope for your response, thanks!