centurion: remove limits & add patch | libsdl_*: use configs from install (#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`pull/5114/head
parent
622ed4facd
commit
426b3877db
6 changed files with 93 additions and 46 deletions
@ -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 {
|
Loading…
Reference in new issue