mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix NOHW compiling
This commit is contained in:
parent
7cbc9add07
commit
e4b7257ec9
2 changed files with 3 additions and 0 deletions
|
|
@ -629,6 +629,7 @@ static void D_Display(void)
|
|||
V_DrawThinString(80, 40, V_MONOSPACE | V_BLUEMAP, s);
|
||||
if (rendermode == render_opengl) // OpenGL specific stats
|
||||
{
|
||||
#ifdef HWRENDER
|
||||
snprintf(s, sizeof s - 1, "nsrt %d", rs_hw_nodesorttime / divisor);
|
||||
V_DrawThinString(30, 40, V_MONOSPACE | V_YELLOWMAP, s);
|
||||
snprintf(s, sizeof s - 1, "ndrw %d", rs_hw_nodedrawtime / divisor);
|
||||
|
|
@ -661,6 +662,7 @@ static void D_Display(void)
|
|||
snprintf(s, sizeof s - 1, "ncol %d", rs_hw_numcolors);
|
||||
V_DrawThinString(185, 30, V_MONOSPACE | V_PURPLEMAP, s);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else // software specific stats
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1478,6 +1478,7 @@ static SDL_bool Impl_CreateContext(void)
|
|||
|
||||
void VID_CheckGLLoaded(rendermode_t oldrender)
|
||||
{
|
||||
(void)oldrender;
|
||||
#ifdef HWRENDER
|
||||
if (vid_opengl_state == -1) // Well, it didn't work the first time anyway.
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue