From 0a5e412541937ead88377cabdb565ecfe65c0afc Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 15 Feb 2024 11:18:17 +0100 Subject: Give all threads specific thread roles and assert thread safety --- src/Game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Game.cpp') 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{}; -- cgit 1.4.1