Page MenuHome

SDL2-version-check.patch

SDL2-version-check.patch

Index: blender/intern/ghost/intern/GHOST_SystemSDL.h
===================================================================
--- blender/intern/ghost/intern/GHOST_SystemSDL.h (revisão 45061)
+++ blender/intern/ghost/intern/GHOST_SystemSDL.h (cópia de trabalho)
@@ -39,8 +39,8 @@
#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
Index: blender/intern/ghost/intern/GHOST_DisplayManagerSDL.h
===================================================================
--- blender/intern/ghost/intern/GHOST_DisplayManagerSDL.h (revisão 45061)
+++ blender/intern/ghost/intern/GHOST_DisplayManagerSDL.h (cópia de trabalho)
@@ -34,8 +34,8 @@
#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;
Index: blender/intern/ghost/intern/GHOST_WindowSDL.h
===================================================================
--- blender/intern/ghost/intern/GHOST_WindowSDL.h (revisão 45061)
+++ blender/intern/ghost/intern/GHOST_WindowSDL.h (cópia de trabalho)
@@ -36,8 +36,8 @@
#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;

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
22/17/200f2b6de1d172c23fd5ac23d7ca

Event Timeline