HostInterface: Add a helper to display a 'Loading Screen' during long startup

This commit is contained in:
Connor McLaughlin
2020-02-16 00:15:16 +09:00
parent 9ddb3a8c7a
commit 1e0e802fa4
4 changed files with 48 additions and 0 deletions

View File

@ -296,6 +296,8 @@ bool GPU_HW_OpenGL::CompilePrograms()
GPU_HW_ShaderGen shadergen(m_host_display->GetRenderAPI(), m_resolution_scale, m_true_color, m_texture_filtering,
m_supports_dual_source_blend);
m_system->GetHostInterface()->DisplayLoadingScreen("Compiling Shaders...");
for (u32 render_mode = 0; render_mode < 4; render_mode++)
{
for (u32 texture_mode = 0; texture_mode < 9; texture_mode++)