Hopefully fixed Wayland build
authorSam Lantinga <slouken@libsdl.org>
Mon, 14 Aug 2017 21:35:16 -0700
changeset 1130168c83ddf9096
parent 11300 68a80d7afec3
child 11302 657c10a0a705
Hopefully fixed Wayland build
src/video/wayland/SDL_waylandevents.c
     1.1 --- a/src/video/wayland/SDL_waylandevents.c	Mon Aug 14 21:28:04 2017 -0700
     1.2 +++ b/src/video/wayland/SDL_waylandevents.c	Mon Aug 14 21:35:16 2017 -0700
     1.3 @@ -237,10 +237,10 @@
     1.4          switch (a) {
     1.5              case WL_POINTER_AXIS_VERTICAL_SCROLL:
     1.6                  x = 0;
     1.7 -                y = wl_fixed_to_float(value);
     1.8 +                y = (float)wl_fixed_to_double(value);
     1.9                  break;
    1.10              case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
    1.11 -                x = wl_fixed_to_float(value);
    1.12 +                x = (float)wl_fixed_to_double(value);
    1.13                  y = 0;
    1.14                  break;
    1.15              default: