From 2a6c7c31e8edc470e8ac770a19358c92e149ff61 Mon Sep 17 00:00:00 2001 From: Adrian Hedqvist Date: Mon, 18 Sep 2017 14:20:00 +0200 Subject: [PATCH] More debugging ;_; --- .gitignore | 3 ++- src/Main.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7744b04..b0db429 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,8 @@ compile_commands.json CTestTestfile.cmake # Misc +build *.cfg *.log imgui.ini -*.sublime* \ No newline at end of file +*.sublime* diff --git a/src/Main.cpp b/src/Main.cpp index e29dd8f..3aab354 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -24,6 +24,7 @@ int main(int argc, char* argv[]) { Renderer* renderer; Input* input; + setenv("MESA_DEBUG", "", 0); SDL_LogSetAllPriority(SDL_LOG_PRIORITY_VERBOSE); Config cfg = Config("dungeon.cfg");