summaryrefslogtreecommitdiff
path: root/src/client/cl_scrn.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-21 11:36:25 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:47:34 +0000
commitf8cab531dcb1884d5a6fab778633d620831d5b19 (patch)
tree1bf91687c949755693b42acb7332fdbab94fa082 /src/client/cl_scrn.c
parent2dfaa74758a8e1910f7cea78f72cb0ed7603c4c0 (diff)
- Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, by Zack Middleton Check if uivm is loaded before using it
Patch adds a check for uivm before using it, fixes running dedicated server using client binary. Missing uivm check pointed out by Ensiform. - Bug 5049 - TA UI forces overstrike mode on when focusing an edit box, by Ensiform - Bug 5052 - Missing podium timer initialization, by Eugene C.
Diffstat (limited to 'src/client/cl_scrn.c')
-rw-r--r--src/client/cl_scrn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_scrn.c b/src/client/cl_scrn.c
index 70539317..c616640a 100644
--- a/src/client/cl_scrn.c
+++ b/src/client/cl_scrn.c
@@ -465,7 +465,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
re.BeginFrame( stereoFrame );
- uiFullscreen = VM_Call( uivm, UI_IS_FULLSCREEN );
+ uiFullscreen = (uivm && VM_Call( uivm, UI_IS_FULLSCREEN ));
// wide aspect ratio screens need to have the sides cleared
// unless they are displaying game renderings