diff options
Diffstat (limited to 'src/dev/sdl/lv_sdl_mouse.c')
-rw-r--r-- | src/dev/sdl/lv_sdl_mouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/sdl/lv_sdl_mouse.c b/src/dev/sdl/lv_sdl_mouse.c index 9dfef6120..0fdedcd12 100644 --- a/src/dev/sdl/lv_sdl_mouse.c +++ b/src/dev/sdl/lv_sdl_mouse.c @@ -117,8 +117,8 @@ void _lv_sdl_mouse_handler(SDL_Event * event) lv_sdl_mouse_t * indev_dev = lv_indev_get_driver_data(indev); if(indev_dev == NULL) return; - lv_coord_t hor_res = lv_display_get_horizontal_resolution(disp); - lv_coord_t ver_res = lv_display_get_vertical_resolution(disp); + int32_t hor_res = lv_display_get_horizontal_resolution(disp); + int32_t ver_res = lv_display_get_vertical_resolution(disp); uint8_t zoom = lv_sdl_window_get_zoom(disp); switch(event->type) { |