From cde502d511e0794c87eb1d0e02061c9a5909d594 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 18 Feb 2015 01:47:09 +0000 Subject: [PATCH] Fix Mapster32 mouse cursor in GL git-svn-id: https://svn.eduke32.com/eduke32@5012 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 2e7741765..bada6de3d 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -2380,7 +2380,13 @@ static void m32_showmouse(void) break; } - push_nofog(); +#ifdef USE_OPENGL + if (getrendermode() >= REND_POLYMOST) + { + push_nofog(); + bglDisable(GL_TEXTURE_2D); + } +#endif if (col != whitecol) { @@ -2419,7 +2425,10 @@ static void m32_showmouse(void) } } - pop_nofog(); +#ifdef USE_OPENGL + if (getrendermode() >= REND_POLYMOST) + pop_nofog(); +#endif } int32_t AskIfSure(const char *text)