Fix T56996: MacOS: Lagging when rotating the view

It happens on multiple configuration so we cannot isolate the fix to only
some config.

Thanks Hugo Lamarche for helping finding the fix.
This commit is contained in:
2018-12-02 22:33:31 +01:00
parent 756df74fca
commit cf18eb2de3

View File

@@ -1516,6 +1516,11 @@ void DRW_draw_render_loop_ex(
drw_engines_draw_scene();
#ifdef __APPLE__
/* Fix 3D view being "laggy" on macos. (See T56996) */
glFlush();
#endif
/* annotations - temporary drawing buffer (3d space) */
/* XXX: Or should we use a proper draw/overlay engine for this case? */
if (do_annotations) {