diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 06:23:45 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-05 06:23:45 +0300 |
commit | d59c4c9d61a1634f75369a02ff7f381612988c9f (patch) | |
tree | ab77f78b956403ddc30fa6bf394e6dcb03c51846 /source/blender/draw/intern/draw_manager_shader.c | |
parent | a7712e8594337af4ed378894679cec592e348ba4 (diff) |
GPU: Cleanup: Replace glFlush by GPU_flush
Diffstat (limited to 'source/blender/draw/intern/draw_manager_shader.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_shader.c b/source/blender/draw/intern/draw_manager_shader.c index bb580695865..a2583045ade 100644 --- a/source/blender/draw/intern/draw_manager_shader.c +++ b/source/blender/draw/intern/draw_manager_shader.c @@ -131,7 +131,7 @@ static void drw_deferred_shader_compilation_exec(void *custom_data, short *stop, *progress = (float)comp->shaders_done / (float)total; *do_update = true; - glFlush(); + GPU_flush(); BLI_mutex_unlock(&comp->compilation_lock); BLI_spin_lock(&comp->list_lock); |