Skip to content

Commit 39084d4

Browse files
committed
Rename
1 parent 508ac89 commit 39084d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PlaylistCore.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace PlaylistCore {
111111
std::string playlistPathName = std::filesystem::path(playlist->path).stem();
112112
std::string imgPath = GetCoversPath() + "/" + playlistPathName + ".png";
113113
LOG_INFO("Writing image from playlist to {}", imgPath);
114-
MetaCore::Unity::WriteTexture(texture, imgPath);
114+
MetaCore::Engine::WriteTexture(texture, imgPath);
115115
auto sprite = UnityEngine::Sprite::Create(
116116
texture,
117117
UnityEngine::Rect(0, 0, texture->get_width(), texture->get_height()),
@@ -178,7 +178,7 @@ namespace PlaylistCore {
178178
path = GetCoversPath() + "/" + path;
179179
LOG_INFO("Saving image {}", path);
180180
// save and load
181-
MetaCore::Unity::WriteTexture(texture, path);
181+
MetaCore::Engine::WriteTexture(texture, path);
182182
auto sprite = UnityEngine::Sprite::Create(
183183
texture,
184184
UnityEngine::Rect(0, 0, texture->get_width(), texture->get_height()),
@@ -237,7 +237,7 @@ namespace PlaylistCore {
237237
}
238238
std::string newImageString = ProcessImage(texture, true);
239239
if (newImageString != imageString)
240-
MetaCore::Unity::WriteTexture(texture, path.string());
240+
MetaCore::Engine::WriteTexture(texture, path.string());
241241
// check hash with loaded images
242242
if (HasCachedSprite(newImageString)) {
243243
LOG_INFO("Skipping loading image {}", path.string());

0 commit comments

Comments
 (0)