mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
Merge pull request #33 from inolen/widescreen_clear_fix
don't clear screen during CA_LOADING and CA_PRIMED
This commit is contained in:
commit
aedb151d94
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
|
||||||
|
|
||||||
// wide aspect ratio screens need to have the sides cleared
|
// wide aspect ratio screens need to have the sides cleared
|
||||||
// unless they are displaying game renderings
|
// unless they are displaying game renderings
|
||||||
if ( uiFullscreen || (clc.state != CA_ACTIVE && clc.state != CA_CINEMATIC) ) {
|
if ( uiFullscreen || clc.state < CA_LOADING ) {
|
||||||
if ( cls.glconfig.vidWidth * 480 > cls.glconfig.vidHeight * 640 ) {
|
if ( cls.glconfig.vidWidth * 480 > cls.glconfig.vidHeight * 640 ) {
|
||||||
re.SetColor( g_color_table[0] );
|
re.SetColor( g_color_table[0] );
|
||||||
re.DrawStretchPic( 0, 0, cls.glconfig.vidWidth, cls.glconfig.vidHeight, 0, 0, 0, 0, cls.whiteShader );
|
re.DrawStretchPic( 0, 0, cls.glconfig.vidWidth, cls.glconfig.vidHeight, 0, 0, 0, 0, cls.whiteShader );
|
||||||
|
|
Loading…
Reference in a new issue