mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 10:38:53 +00:00
Merge pull request #42 from rettichschnidi/rettichschnidi-sdl-getwindowdisplayrename
SDL2: SDL_GetWindowDisplay got renamed to SDL_GetWindowDisplayIndex
This commit is contained in:
commit
41b26e586c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue