SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex

SDL2 commit: http://hg.libsdl.org/SDL/rev/7174fb08017a
This commit is contained in:
Reto Schneider 2013-02-05 07:07:49 +01:00
parent 5a9e718cb0
commit f7b532df63

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;
}