From: black Date: Sat, 5 Jan 2008 22:38:24 +0000 (+0000) Subject: Remove another hack from menu.h (menu_refdef is now declared in MP_Draw). X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fdp-mqc-render;p=xonotic%2Fdarkplaces.git 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 --- 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);