diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-03-22 18:06:42 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-03-22 18:06:42 +0400 |
commit | a00594837a0db0bdded091225a7b2faf173a5043 (patch) | |
tree | 2d31b6c1247a6ac4cc2598ae53a0d4dec0beda47 /intern | |
parent | 7ba12321ec67a9062d550d35aaa13ce73396625e (diff) |
patch [#30635] Fix SDL2 version check by Wander Costa (walac)
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_DisplayManagerSDL.h | 4 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemSDL.h | 4 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowSDL.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.h b/intern/ghost/intern/GHOST_DisplayManagerSDL.h index 72f756f653a..aad0cf39309 100644 --- a/intern/ghost/intern/GHOST_DisplayManagerSDL.h +++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.h @@ -34,8 +34,8 @@ extern "C" { #include "SDL.h" } -#if !SDL_VERSION_ATLEAST(1, 3, 0) -# error "SDL 1.3 or newer is needed to build with Ghost" +#if !SDL_VERSION_ATLEAST(2, 0, 0) +# error "SDL 2.0 or newer is needed to build with Ghost" #endif class GHOST_SystemSDL; diff --git a/intern/ghost/intern/GHOST_SystemSDL.h b/intern/ghost/intern/GHOST_SystemSDL.h index e7700649140..7610c594665 100644 --- a/intern/ghost/intern/GHOST_SystemSDL.h +++ b/intern/ghost/intern/GHOST_SystemSDL.h @@ -39,8 +39,8 @@ extern "C" { #include "SDL.h" } -#if !SDL_VERSION_ATLEAST(1, 3, 0) -# error "SDL 1.3 or newer is needed to build with Ghost" +#if !SDL_VERSION_ATLEAST(2, 0, 0) +# error "SDL 2.0 or newer is needed to build with Ghost" #endif diff --git a/intern/ghost/intern/GHOST_WindowSDL.h b/intern/ghost/intern/GHOST_WindowSDL.h index 724c59de0b9..e984aafc733 100644 --- a/intern/ghost/intern/GHOST_WindowSDL.h +++ b/intern/ghost/intern/GHOST_WindowSDL.h @@ -36,8 +36,8 @@ extern "C" { #include "SDL.h" } -#if !SDL_VERSION_ATLEAST(1, 3, 0) -# error "SDL 1.3 or newer is needed to build with Ghost" +#if !SDL_VERSION_ATLEAST(2, 0, 0) +# error "SDL 2.0 or newer is needed to build with Ghost" #endif class STR_String; |