mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fix image gen
This commit is contained in:
parent
fee05fd1ff
commit
0119c1fc05
@ -40,7 +40,7 @@ ret_t image_format_set(image_format_t* image_format, const wchar_t* format) {
|
||||
image_format->mono = TRUE;
|
||||
}
|
||||
|
||||
if (wcsstr(format, L"bgra")) {
|
||||
if (wcsstr(format, L"bgr")) {
|
||||
image_format->require_bgra = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user