summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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