Browse Source

fix sdl error (sdl 2.0.6 change)

Nicolas Cannasse 8 năm trước cách đây
mục cha
commit
b1a371347c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libs/sdl/sdl.c

+ 1 - 1
libs/sdl/sdl.c

@@ -9,7 +9,7 @@
 #	include <SDL2/SDL.h>
 #endif
 
-#ifndef _SDL_H
+#ifndef SDL_MAJOR_VERSION
 #	error "SDL2 SDK not found in hl/include/sdl/"
 #endif