History

give Application a 'workload' engine

Andrew Meadows committed 8 years ago

Commit ba888a11 parent 7342bc82 files · +6 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -2209,6 +2209,7 @@ Application::~Application() { · 2208 unmodified lines
22092209 // shutdown render engine
22102210 _main3DScene = nullptr;
22112211 _renderEngine = nullptr;
2212+ _infinityEngine = nullptr;
22122213
22132214 DependencyManager::destroy<Preferences>();
22142215
@@ -4097,6 +4098,9 @@ void Application::idle() { · 1882 unmodified lines
40974098 qFatal("Unable to make main thread context current");
40984099 }
40994100
4101+ {
4102+ _infinityEngine->run();
4103+ }
41004104 {
41014105 PerformanceTimer perfTimer("update");
41024106 PerformanceWarning warn(showWarnings, "Application::idle()... update()");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t