Add 2-stage startup for mobile init so there's less black screen

This commit is contained in:
elasota
2020-11-25 15:09:31 -05:00
parent 5c640b72eb
commit 3c3f9e3675
11 changed files with 377 additions and 88 deletions

View File

@@ -1215,7 +1215,7 @@ GpDisplayDriver_SDL_GL2::GpDisplayDriver_SDL_GL2(const GpDisplayDriverProperties
m_bgColor[3] = 1.f;
// Stupid hack to detect mobile...
m_isFullScreenDesired = m_properties.m_systemServices->IsTouchscreen() && !m_properties.m_systemServices->IsUsingMouseAsTouch();
m_isFullScreenDesired = m_properties.m_systemServices->IsFullscreenPreferred();
const intmax_t periodNum = std::chrono::high_resolution_clock::period::num;
const intmax_t periodDen = std::chrono::high_resolution_clock::period::den;