package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
506 B
14 lines
506 B
4 months ago
|
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 {
|