On Sun, 23 Feb 2020 at 08:32:42 +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > input.cpp: In function ‘void input_init()’:
> > input.cpp:94:15: error: ‘SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH’ was not 
> > declared in this scope
> >    94 |   SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");

This appears to have been caused by SDL2 having been upgraded to 2.0.10.
>From SDL2's WhatsNew.txt:

> * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control whether SDL will 
> synthesize touch events from mouse events
...
> Android:
...
> * Removed SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH (replaced by 
> SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS)
>   SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=1, should be replaced by setting 
> both previous hints to 0.
>   SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH=0, should be replaced by setting 
> both previous hints to 1.

    smcv

Reply via email to