mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-31 01:11:01 +00:00
Reverted r2145 per Timbo's suggestion.
This commit is contained in:
parent
efd5f47bf6
commit
1469df546e
3 changed files with 8 additions and 41 deletions
|
@ -248,16 +248,6 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder)
|
|||
}
|
||||
}
|
||||
|
||||
if( videoInfo->current_h > 0 ) {
|
||||
glConfig.vidWidth = videoInfo->current_w;
|
||||
glConfig.vidHeight = videoInfo->current_h;
|
||||
} else {
|
||||
glConfig.vidWidth = 480;
|
||||
glConfig.vidHeight = 640;
|
||||
ri.Printf( PRINT_ALL,
|
||||
"Cannot determine display resolution, assuming 640x480\n" );
|
||||
}
|
||||
|
||||
ri.Printf (PRINT_ALL, "...setting mode %d:", mode );
|
||||
|
||||
if ( !R_GetModeInfo( &glConfig.vidWidth, &glConfig.vidHeight, &glConfig.windowAspect, mode ) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue