-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[magnum/magnum-plugins] Fix patches for --head builds (#10158)
* [magnum] Update patches for --head builds Signed-off-by: Squareys <[email protected]> * [magnum-plugins] Remove obsolete patch Since basisu port has been updated, we can now use it without patching the magnum-plugins code for compatibility. Signed-off-by: Squareys <[email protected]> * [corrade] Remove obsolete warning and flag Signed-off-by: Squareys <[email protected]> * [magnum] Rename patches to reflect order of application Signed-off-by: Squareys <[email protected]> * [corrade/magnum/magnum-plugins] Update port versions Signed-off-by: Squareys <[email protected]>
- Loading branch information
Showing
10 changed files
with
59 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp | ||
index 276c7ee55..90c52f3cb 100644 | ||
--- a/src/Magnum/Platform/Sdl2Application.cpp | ||
+++ b/src/Magnum/Platform/Sdl2Application.cpp | ||
@@ -34,7 +34,7 @@ | ||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wpragma-pack" | ||
#endif | ||
-#include <SDL.h> | ||
+#include <SDL2/SDL.h> | ||
#ifdef CORRADE_TARGET_CLANG_CL | ||
#pragma clang diagnostic pop | ||
#endif | ||
diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h | ||
index b2426d513..176729fdb 100644 | ||
--- a/src/Magnum/Platform/Sdl2Application.h | ||
+++ b/src/Magnum/Platform/Sdl2Application.h | ||
@@ -57,11 +57,11 @@ | ||
#pragma clang diagnostic ignored "-Wpragma-pack" | ||
#endif | ||
/* SDL.h includes the world, adding 50k LOC. We don't want that either. */ | ||
-#include <SDL_keycode.h> | ||
-#include <SDL_mouse.h> | ||
-#include <SDL_version.h> /* huh, why is this not pulled in implicitly?! */ | ||
-#include <SDL_video.h> | ||
-#include <SDL_scancode.h> | ||
+#include <SDL2/SDL_keycode.h> | ||
+#include <SDL2/SDL_mouse.h> | ||
+#include <SDL2/SDL_version.h> /* huh, why is this not pulled in implicitly?! */ | ||
+#include <SDL2/SDL_video.h> | ||
+#include <SDL2/SDL_scancode.h> | ||
|
||
#ifdef CORRADE_TARGET_IOS | ||
/* Including SDL_main.h unconditionally would mean it'd override Corrade::Main | ||
@@ -74,7 +74,7 @@ | ||
#endif | ||
|
||
#ifdef CORRADE_TARGET_WINDOWS_RT | ||
-#include <SDL_main.h> /* For SDL_WinRTRunApp */ | ||
+#include <SDL2/SDL_main.h> /* For SDL_WinRTRunApp */ | ||
#include <wrl.h> /* For the WinMain entrypoint */ | ||
#endif | ||
#ifdef CORRADE_TARGET_CLANG_CL |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters