summaryrefslogtreecommitdiff
path: root/src/core.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2022-10-04 17:55:15 -0300
committerFrederico Linhares <fred@linhares.blue>2022-10-04 17:55:15 -0300
commit2032daa62db8c2c70ab36ee14f0f4e87c2a68278 (patch)
tree9f079b75662ead17553d329cf2129884f3d8d15b /src/core.hpp
parent30c8d2b144bae1e5f95936c5af1b4432bcfdc7b4 (diff)
buil Use SDL_MAIN_HANDLED to compile engine on Windows
Diffstat (limited to 'src/core.hpp')
-rw-r--r--src/core.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.hpp b/src/core.hpp
index c4e9a6c..7d1d62f 100644
--- a/src/core.hpp
+++ b/src/core.hpp
@@ -33,6 +33,8 @@
#include <mruby/dump.h>
#include <mruby/variable.h>
+#define SDL_MAIN_HANDLED
+
#include <SDL2/SDL.h>
#include <SDL2/SDL_vulkan.h>
#include <SDL2/SDL_image.h>