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/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9153530..94061f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,9 +4,12 @@ #include "Game.hpp" #include "Render.hpp" +#include "ThreadRole.hpp" #include "World/World.hpp" int main() { + HELLO_I_AM(MC::ThreadRole::Logic); + if (!glfwInit()) { std::cout << "Failed to initialize GLFW" << std::endl; return 1; -- cgit 1.4.1