mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-26 03:00:55 +00:00
I_FinishUpdate: OglSdlFinishUpdate should never run for render_soft, even if screens[0] somehow is NULL
This commit is contained in:
parent
a1f5caeba6
commit
093800cb06
1 changed files with 2 additions and 2 deletions
|
@ -931,7 +931,7 @@ void I_FinishUpdate(void)
|
|||
if (cv_ticrate.value)
|
||||
SCR_DisplayTicRate();
|
||||
|
||||
if (render_soft == rendermode && screens[0])
|
||||
if (rendermode == render_soft && screens[0])
|
||||
{
|
||||
SDL_Rect rect;
|
||||
|
||||
|
@ -958,7 +958,7 @@ void I_FinishUpdate(void)
|
|||
}
|
||||
|
||||
#ifdef HWRENDER
|
||||
else
|
||||
else if (rendermode == render_opengl)
|
||||
{
|
||||
OglSdlFinishUpdate(cv_vidwait.value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue