Merge pull request #42 from rettichschnidi/rettichschnidi-sdl-getwindowdisplayrename

SDL2: SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex
This commit is contained in:
RobertBeckebans 2013-02-05 09:28:06 -08:00
commit 41b26e586c

View file

@ -319,7 +319,7 @@ static int ScreenParmsHandleDisplayIndex( glimpParms_t parms )
}
else // -2 == use current display
{
displayIdx = SDL_GetWindowDisplay( window );
displayIdx = SDL_GetWindowDisplayIndex( window );
if( displayIdx < 0 ) // for some reason the display for the window couldn't be detected
displayIdx = 0;
}