From: black Date: Sat, 5 Jan 2008 02:44:57 +0000 (+0000) Subject: Make the clientrefdef static. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aee4178f3da44e9d886b4f2a853ebf6e1ab3b529;p=xonotic%2Fdarkplaces.git Make the clientrefdef static. git-svn-id: svn://svn.icculus.org/twilight/branches/dp-mqc-render/darkplaces@7910 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;