summary refs log tree commit diff
path: root/src/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.cpp')
-rw-r--r--src/Game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Game.cpp b/src/Game.cpp
index 117ba09..231c681 100644
--- a/src/Game.cpp
+++ b/src/Game.cpp
@@ -12,6 +12,8 @@
 namespace MC {
 
 void Game::run() const {
+    ASSERT_MAIN_THREAD();
+
     World::World world{};
 
     GFX::Camera camera{};