diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-06 13:41:55 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-06 23:33:05 +0300 |
commit | 55bf2adbeaf1378362e1b89f9085a57acdb81aba (patch) | |
tree | 91532ffb5b28bb9346d227a94afc84bd5c51f342 /source/blender/draw | |
parent | bd340a0e1f6ff56958b810cfc23f784ca526a7f6 (diff) |
DRW: Attempt to fix slowdown caused by gizmo drawing
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 9bca424af11..d7208bd0616 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -1621,10 +1621,8 @@ void DRW_draw_render_loop_ex(struct Depsgraph *depsgraph, drw_engines_draw_scene(); -#ifdef __APPLE__ - /* Fix 3D view being "laggy" on macos. (See T56996) */ + /* Fix 3D view being "laggy" on macos and win+nvidia. (See T56996, T61474) */ GPU_flush(); -#endif /* annotations - temporary drawing buffer (3d space) */ /* XXX: Or should we use a proper draw/overlay engine for this case? */ |