fix(SDL): fix typos and other minor issues (#3517)

* fix(sdl): wrong coords for transformed backgrounds

* fix(sdl): fixed typo

* fix(sdl): fixed typo
This commit is contained in:
Mariotaku
2022-07-26 04:00:48 +09:00
committed by GitHub
parent efa34d00d7
commit 03b04a45b9
16 changed files with 53 additions and 35 deletions

View File

@@ -191,11 +191,11 @@
/*Use SDL renderer API*/
#define LV_USE_DRAW_SDL 0
#if LV_USE_DRAW_SDL
#define LV_DARW_SDL_INCLUDE_PATH <SDL2/SDL.h>
#define LV_DRAW_SDL_INCLUDE_PATH <SDL2/SDL.h>
/*Texture cache size, 8MB by default*/
#define LV_DARW_SDL_LRU_SIZE (1024 * 1024 * 8)
#define LV_DRAW_SDL_LRU_SIZE (1024 * 1024 * 8)
/*Custom blend mode for mask drawing, disable if you need to link with older SDL2 lib*/
#define LV_DARW_SDL_CUSTOM_BLEND_MODE (SDL_VERSION_ATLEAST(2, 0, 6))
#define LV_DRAW_SDL_CUSTOM_BLEND_MODE (SDL_VERSION_ATLEAST(2, 0, 6))
#endif
/*-------------