summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 15:54:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 15:54:10 +0200
commitded69f52906990cf975a62c0efbaca4b6cfa5e88 (patch)
treebca2790e5d9d45ccef12e9da6cf4b125912f12db /main
parent896e072d8bd94020c883e994451b86675ecdced7 (diff)
a
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 9dc5ce4e..14828cad 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -5,6 +5,7 @@
#include "chunk.hpp"
#include "floor-mesh.hpp"
#include "wall-mesh.hpp"
+#include "compat/defs.hpp"
#include <bitset>
@@ -105,6 +106,7 @@ app::app(const Arguments& arguments):
.setSize({1024, 768}, dpi_policy::Physical),
GLConfiguration{}
.setSampleCount(4)
+ .setFlags(Platform::Sdl2Application::GLConfiguration::Flag::Debug)
}
{
reset_camera_offset();