Browse Source

Fix not found SDL.h header on MSVC build

rexim 4 years ago
parent
commit
7b2cafbeec
3 changed files with 2 additions and 4 deletions
  1. 1 1
      src/font.h
  2. 0 2
      src/main.c
  3. 1 1
      src/sdl_extra.h

+ 1 - 1
src/font.h

@@ -1,7 +1,7 @@
 #ifndef FONT_H_
 #define FONT_H_
 
-#include <SDL.h>
+#include <SDL2/SDL.h>
 
 #include "./la.h"
 

+ 0 - 2
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>

+ 1 - 1
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"