mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix variable declaration for C89 compilers
This commit is contained in:
parent
61825d8e5f
commit
da8a74d734
1 changed files with 1 additions and 1 deletions
|
@ -134,9 +134,9 @@ static void GLimp_DetectAvailableModes(void)
|
|||
SDL_Rect *modes;
|
||||
int numModes = 0;
|
||||
|
||||
SDL_DisplayMode windowMode;
|
||||
int display = SDL_GetWindowDisplayIndex( SDL_window );
|
||||
numSDLModes = SDL_GetNumDisplayModes( display );
|
||||
SDL_DisplayMode windowMode;
|
||||
|
||||
if( SDL_GetWindowDisplayMode( SDL_window, &windowMode ) < 0 || numSDLModes <= 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue