Draw Manager: Fix lazy compilation on certain hardware.
Before, the drawing functions sometimes froze with `AMD Radeon HD 7570M`.
This commit is contained in:
parent
6962119e7f
commit
71980945bc
|
@ -137,6 +137,7 @@ static void drw_deferred_shader_compilation_exec(void *custom_data, short *stop,
|
|||
*progress = (float)comp->shaders_done / (float)total;
|
||||
*do_update = true;
|
||||
|
||||
glFinish();
|
||||
BLI_mutex_unlock(&comp->compilation_lock);
|
||||
|
||||
drw_deferred_shader_free(comp->mat_compiling);
|
||||
|
|
Loading…
Reference in New Issue