Skip to content

Render enough frames to flush the Qt3D pipeline when dirty

Paul Lemire requested to merge lemirep/qt3d:patch into kde/5.15

Sometimes Qt3D needs 2 frames if it involves introspecting and then compiling shaders. So render at least this many frames when needed.

The change in formatting is pushed upon us by the clang-format use in the pre-commit hook.

Change-Id: Ie9f48876351a8d1a7bd0df705a9e43831753ac69 Reviewed-by: Mike Krus mike.krus@kdab.com (cherry picked from commit c2f6cfd0) Reviewed-by: Paul Lemire paul.lemire@kdab.com

Merge request reports