From 2e54f1e369149d7528436e6a2a3d57763b875a8f Mon Sep 17 00:00:00 2001 From: black Date: Sat, 5 Jan 2008 22:38:24 +0000 Subject: [PATCH] Remove another hack from menu.h (menu_refdef is now declared in MP_Draw). git-svn-id: svn://svn.icculus.org/twilight/branches/dp-mqc-render/darkplaces@7921 d7cf8633-e32d-0410-b094-e92efae38249 --- menu.c | 2 ++ menu.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/menu.c b/menu.c index 9197bee6..ec465305 100644 --- a/menu.c +++ b/menu.c @@ -5070,6 +5070,8 @@ void MP_KeyEvent (int key, char ascii, qboolean downevent) void MP_Draw (void) { + extern r_refdef_t menu_refdef; + static r_refdef_t clientrefdef; clientrefdef = r_refdef; r_refdef = menu_refdef; diff --git a/menu.h b/menu.h index bae1fd54..0e52ef4a 100644 --- a/menu.h +++ b/menu.h @@ -77,9 +77,6 @@ void MP_Shutdown (void);*/ // menu router // -// hack -extern r_refdef_t menu_refdef; - void MR_Init_Commands (void); void MR_Init (void); void MR_Restart (void); -- 2.39.2