mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-04 01:41:40 +00:00
SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex
SDL2 commit: http://hg.libsdl.org/SDL/rev/7174fb08017a
This commit is contained in:
parent
5a9e718cb0
commit
f7b532df63
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ static int ScreenParmsHandleDisplayIndex( glimpParms_t parms )
|
||||||
}
|
}
|
||||||
else // -2 == use current display
|
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
|
if( displayIdx < 0 ) // for some reason the display for the window couldn't be detected
|
||||||
displayIdx = 0;
|
displayIdx = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue