-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using LV_USE_DRAW_SDL, all images cannot be displayed. #44
Comments
I started to work on completing the SDL renderer here: lvgl/lvgl#6437
If you enable this option via CMake, you can remove
I'll resolve it in lvgl/lvgl#6437 |
Please help to check the RGB mask value in draw image task of SDL draw unit. I saw currently only 32bit color can work. For other color format (such as rgb565),the SDL will report color mask error. |
Is it with LVGL v8 or v9? |
v9 |
I've tried the Have you installed |
The problem is when the bpp of an image is not 32. for example, bpp = 16, then the R mask is 0x001F instead of 0x000000FF |
Oh I see. I can't see just a dirty fix to resolve it, however lvgl/lvgl#6437 should fix it. |
There's two issues when using LV_USE_DRAW_SDL option in cmake.
The text was updated successfully, but these errors were encountered: