mirror of
https://github.com/olikraus/u8g2.git
synced 2026-07-27 20:05:57 +00:00
Add conditional definition for u8g_sdl_multiple
use U8G2_U8G_SDL_MULTIPLE to adjust window size and pixel size.
This commit is contained in:
@@ -19,7 +19,16 @@ SDL_Window *u8g_sdl_window;
|
||||
SDL_Surface *u8g_sdl_screen;
|
||||
#endif
|
||||
|
||||
#ifdef U8G2_U8G_SDL_MULTIPLE
|
||||
|
||||
int u8g_sdl_multiple = U8G2_U8G_SDL_MULTIPLE;
|
||||
|
||||
#else
|
||||
|
||||
int u8g_sdl_multiple = 3;
|
||||
|
||||
#endif
|
||||
|
||||
uint32_t u8g_sdl_color[256];
|
||||
int u8g_sdl_height, u8g_sdl_width;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user