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/Render.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Render.cpp') diff --git a/src/Render.cpp b/src/Render.cpp index 3955f1c..2b16ed0 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -1,6 +1,7 @@ #include "Render.hpp" #include "Assets.hpp" #include "Defines.hpp" +#include "ThreadRole.hpp" #include "Time.hpp" #include "Common/Assert.hpp" #include "GFX/Image/PPMParser.hpp" @@ -10,6 +11,8 @@ namespace MC { void Render::run() { + HELLO_I_AM(ThreadRole::Render); + m_window.attach(); setup_gl(); -- cgit 1.4.1