ded

Dramatic EDitor
Index Commits Files Refs README LICENSE
commit 7b2cafbeeca79d275a7b209251aa89c9a2b19335
parent 4b0096c30eb9a7f9266a89bdd2c15ac96b1067bc
Author: rexim <reximkut@gmail.com>
Date:   Mon,  5 Jul 2021 03:19:18 +0700

Fix not found SDL.h header on MSVC build

Diffstat:
Msrc/font.h | 2+-
Msrc/main.c | 2--
Msrc/sdl_extra.h | 2+-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/font.h b/src/font.h
@@ -1,7 +1,7 @@
 #ifndef FONT_H_
 #define FONT_H_
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 
 #include "./la.h"
 
diff --git a/src/main.c b/src/main.c
@@ -2,8 +2,6 @@
 #include <stdlib.h>
 #include <stdbool.h>
 
-#include <SDL.h>
-
 #include <SDL2/SDL.h>
 #define GLEW_STATIC
 #include <GL/glew.h>
diff --git a/src/sdl_extra.h b/src/sdl_extra.h
@@ -1,7 +1,7 @@
 #ifndef SDL_EXTRA_H_
 #define SDL_EXTRA_H_
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 
 #include "./la.h"