Tweak osdfunc_setrendermode() to report whether the classic renderer is the C or ASM version

git-svn-id: https://svn.eduke32.com/eduke32@7020 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-07 05:21:43 +00:00
parent 0d843526f0
commit f4227dcbc1

View file

@ -321,12 +321,16 @@ static int32_t osdfunc_setrendermode(osdfuncparm_t const * const parm)
videoSetRenderMode(m);
char const *renderer;
char const *renderer = "other";
switch (videoGetRenderMode())
{
case REND_CLASSIC:
renderer = "classic software";
#ifdef NOASM
renderer = "classic software (C)";
#else
renderer = "classic software (ASM)";
#endif
break;
case REND_POLYMOST:
renderer = "polygonal OpenGL";
@ -336,8 +340,6 @@ static int32_t osdfunc_setrendermode(osdfuncparm_t const * const parm)
renderer = "great justice (Polymer)";
break;
#endif
default:
EDUKE32_UNREACHABLE_SECTION(break);
}
OSD_Printf("Rendering method changed to %s\n", renderer);