Add option to skip splash screen fade out

This commit is contained in:
Jonathan Rubenstein
2020-07-19 00:29:29 -04:00
committed by Geoffrey McRae
parent a15de57e58
commit 66df00cee2
6 changed files with 26 additions and 4 deletions

View File

@@ -413,8 +413,14 @@ bool opengl_on_frame_event(void * opaque, const LG_RendererFormat format, const
if (this->waiting)
{
this->waiting = false;
this->waitFadeTime = microtime() + FADE_TIME;
this->waiting = false;
if (!this->params.quickSplash)
this->waitFadeTime = microtime() + FADE_TIME;
else
{
glDisable(GL_MULTISAMPLE);
this->waitDone = true;
}
}
return true;