diff options
Diffstat (limited to 'source/30-game')
-rw-r--r-- | source/30-game/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/30-game/main.cpp b/source/30-game/main.cpp index 59d6fea..55d2586 100644 --- a/source/30-game/main.cpp +++ b/source/30-game/main.cpp @@ -6,6 +6,7 @@ #include "Input.hpp" #include "Ires.hpp" #include "Level.hpp" +#include "Log.hpp" #include "Material.hpp" #include "Shader.hpp" @@ -124,6 +125,11 @@ fs::path GetEnvVar(const char* name, const char* backup) { int main(int argc, char* argv[]) { using namespace Tags; +#if BRUSSEL_DEV_ENV + Log::gDefaultBuffer.messages.resize(1024); + Log::gDefaultBufferId = Log::RegisterBuffer(Log::gDefaultBuffer); +#endif + constexpr auto kOpenGLDebug = "opengl-debug"; constexpr auto kImGuiBackend = "imgui-backend"; constexpr auto kGameDataDir = "game-data-directory"; |