[iortcw] 38/497: All: Don't clear screen during CA_LOADING and CA_PRIMED
Simon McVittie
smcv at debian.org
Fri Sep 8 10:36:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit 6f53efb5317e02826bb9608135d925cb1dc0ec8e
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Wed Feb 5 20:13:47 2014 +0000
All: Don't clear screen during CA_LOADING and CA_PRIMED
---
MP/code/client/cl_scrn.c | 2 +-
SP/code/client/cl_scrn.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MP/code/client/cl_scrn.c b/MP/code/client/cl_scrn.c
index 3477a13..331b83f 100644
--- a/MP/code/client/cl_scrn.c
+++ b/MP/code/client/cl_scrn.c
@@ -483,7 +483,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
// wide aspect ratio screens need to have the sides cleared
// 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 ) {
re.SetColor( g_color_table[0] );
re.DrawStretchPic( 0, 0, cls.glconfig.vidWidth, cls.glconfig.vidHeight, 0, 0, 0, 0, cls.whiteShader );
diff --git a/SP/code/client/cl_scrn.c b/SP/code/client/cl_scrn.c
index 0a116d9..78bb861 100644
--- a/SP/code/client/cl_scrn.c
+++ b/SP/code/client/cl_scrn.c
@@ -481,7 +481,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
// wide aspect ratio screens need to have the sides cleared
// 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 ) {
re.SetColor( g_color_table[0] );
re.DrawStretchPic( 0, 0, cls.glconfig.vidWidth, cls.glconfig.vidHeight, 0, 0, 0, 0, cls.whiteShader );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list