GPU/HW: Fix incorrect range for shader compiling progress

This commit is contained in:
Connor McLaughlin
2021-06-25 13:20:36 +10:00
parent 6f5d15d2aa
commit f7587eaeac
3 changed files with 2 additions and 6 deletions

View File

@ -518,7 +518,7 @@ bool GPU_HW_OpenGL::CompilePrograms()
m_pgxp_depth_buffer, m_supports_dual_source_blend);
Common::Timer compile_time;
const int progress_total = (4 * 9 * 2 * 2) + (2 * 3) + 6;
const int progress_total = (4 * 9 * 2 * 2) + (2 * 3) + 1 + 1 + 1 + 1 + 1 + 1;
int progress_value = 0;
#define UPDATE_PROGRESS() \
do \