From aee4178f3da44e9d886b4f2a853ebf6e1ab3b529 Mon Sep 17 00:00:00 2001 From: black Date: Sat, 5 Jan 2008 02:44:57 +0000 Subject: [PATCH] Make the clientrefdef static. git-svn-id: svn://svn.icculus.org/twilight/branches/dp-mqc-render/darkplaces@7910 d7cf8633-e32d-0410-b094-e92efae38249 --- menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu.c b/menu.c index e494080b..1cb85402 100644 --- a/menu.c +++ b/menu.c @@ -5070,7 +5070,8 @@ void MP_KeyEvent (int key, char ascii, qboolean downevent) void MP_Draw (void) { - r_refdef_t clientrefdef = r_refdef; + static r_refdef_t clientrefdef; + clientrefdef = r_refdef; r_refdef = menu_refdef; PRVM_Begin; -- 2.39.2