|
|
|
@ -566,6 +566,7 @@ static qboolean VID_SetScreenResolution( int width, int height )
@@ -566,6 +566,7 @@ static qboolean VID_SetScreenResolution( int width, int height )
|
|
|
|
|
if( !SDL_GetClosestDisplayMode( 0, &want, &got )) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
if( got.w != want.w || got.h != want.h ) |
|
|
|
|
Con_Reportf( "Got closest display mode: %ix%i@%i\n", got.w, got.h, got.refresh_rate); |
|
|
|
|
|
|
|
|
|
if( SDL_SetWindowDisplayMode( host.hWnd, &got) == -1 ) |
|
|
|
|