-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix(draw): fix "blend_non_normal_pixel: Not supported blend mode" issue when using lv_demo_smartwatch which compiled by MSVC #8017
fix(draw): fix "blend_non_normal_pixel: Not supported blend mode" issue when using lv_demo_smartwatch which compiled by MSVC #8017
Conversation
@MouriNaruto could you describe why the type of the blend mode is the cause of the issue above? Thank you :) |
Because MSVC will consider the enum types as int32_t (not the uint32_t you think) by default. Kenji Mouri |
Reference: https://learn.microsoft.com/en-us/cpp/c-language/c-enumeration-declarations?view=msvc-170#syntax It also seems that ISO C (until C23 because C23 can define custom integer type for enum like C++) also follows that. https://en.cppreference.com/w/c/language/enum Kenji Mouri |
@MouriNaruto thanks for clarifying it. |
@kisvegabor @liamHowatt ping Kenji Mouri |
…ue when using lv_demo_smartwatch which compiled by MSVC
ca2daec
to
27eb117
Compare
@kisvegabor @uLipe @liamHowatt Ping Kenji Mouri |
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
In the recent days, one of LVGL Visual Studio repository users told me that there are some issues mentioned in the screenshot when he trying to use lv_demo_smartwatch.
This issue seems something familiar for me. So, I solve the issue for that user quickly. I think I should create a PR instead of an issue, and hope the issue can be fixed as soon as possible.
Kenji Mouri