diff options
| author | Mel <einebeere@gmail.com> | 2024-02-15 11:18:17 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-15 11:18:17 +0100 |
| commit | 0a5e412541937ead88377cabdb565ecfe65c0afc (patch) | |
| tree | cf2daa159cf466ab50d639bdb209e8603e763138 /src/Render.cpp | |
| parent | 6a30c3e4f22de4d0f8f32107f614f597f5f39cc1 (diff) | |
| download | meowcraft-0a5e412541937ead88377cabdb565ecfe65c0afc.tar.zst meowcraft-0a5e412541937ead88377cabdb565ecfe65c0afc.zip | |
Give all threads specific thread roles and assert thread safety
Diffstat (limited to 'src/Render.cpp')
| -rw-r--r-- | src/Render.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |
