Fix Mapster32 mouse cursor in GL

git-svn-id: https://svn.eduke32.com/eduke32@5012 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-02-18 01:47:09 +00:00
parent f3e8ffa714
commit cde502d511
1 changed files with 11 additions and 2 deletions

View File

@ -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)