From 44844bb4ccc6a7593574e19eab4d43afaca73aa7 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 2 Dec 2014 06:15:19 +0000 Subject: [PATCH] Fix USE_OPENGL=0 build error in r4779. git-svn-id: https://svn.eduke32.com/eduke32@4787 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/menus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index 6f4309475..129c1d7dd 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -2516,6 +2516,7 @@ static void M_MenuEntryOptionDidModify(MenuEntry_t *entry) entry == &ME_PLAYER_COLOR || entry == &ME_PLAYER_TEAM) G_UpdatePlayerFromMenu(); +#ifdef USE_OPENGL else if (entry == &ME_DISPLAYSETUP_ANISOTROPY) gltexapplyprops(); else if (entry == &ME_RENDERERSETUP_TEXQUALITY) @@ -2526,6 +2527,7 @@ static void M_MenuEntryOptionDidModify(MenuEntry_t *entry) OSD_Printf("restartvid: Reset failed...\n"); r_downsizevar = r_downsize; } +#endif } static void M_MenuCustom2ColScreen(/*MenuEntry_t *entry*/)