-
-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
centurion: remove limits & add patch | libsdl_*: use configs from ins…
…tall (#5097) * centurion: remove limits * libsdl_*: update if statements * libsdl_*: improve pattern for older libsdl_* versions * libsdl_image: fix pattern * libsdl_ttf: remove `plain = true` * libsdl_*: make patches only wasm and improve replace by using two instead of pattern * libsdl_*: use `package:is_plat`
- Loading branch information
Showing
6 changed files
with
93 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/centurion/video/renderer.hpp b/src/centurion/video/renderer.hpp | ||
index 5b253902..e097be79 100644 | ||
--- a/src/centurion/video/renderer.hpp | ||
+++ b/src/centurion/video/renderer.hpp | ||
@@ -182,7 +182,7 @@ class basic_renderer final { | ||
|
||
[[nodiscard]] auto make_texture(file& file) const -> texture | ||
{ | ||
- if (auto* ptr = IMG_LoadTextureRW(get(), file.data(), SDL_FALSE)) { | ||
+ if (auto* ptr = IMG_LoadTexture_RW(get(), file.data(), SDL_FALSE)) { | ||
return texture {ptr}; | ||
} | ||
else { |
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 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 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