summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7ff88e0..2500fb2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -32,12 +32,12 @@ int main() {
LOG(WARNING) << "Sizeof EventData is " << sizeof(EventData);
ThreadGame game;
- ThreadNetwork network;
- ThreadRender render;
-
std::thread threadGame(&ThreadGame::Execute, game);
+
+ ThreadNetwork network;
std::thread threadNetwork(&ThreadNetwork::Execute, network);
+ ThreadRender render;
render.Execute();
threadGame.join();