mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
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:
parent
0d843526f0
commit
f4227dcbc1
1 changed files with 6 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue