mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
engine: platform: sdl: try to fix 1.2 build
This commit is contained in:
@@ -273,8 +273,10 @@ static void SDLash_MouseEvent( SDL_MouseButtonEvent button )
|
||||
int down = button.state != SDL_RELEASED;
|
||||
uint mstate = 0;
|
||||
|
||||
#if SDL_VERSION_ATLEAST( 2, 0, 0 )
|
||||
if( button.which == SDL_TOUCH_MOUSEID )
|
||||
return;
|
||||
#endif
|
||||
|
||||
switch( button.button )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user