Add CreateTextureFromFileData (without ManagedTexture)

This commit is contained in:
Henrik Rydgård
2023-12-12 22:24:13 +01:00
parent d2e10a058e
commit 82bdc9ec50
3 changed files with 39 additions and 27 deletions
+1 -1
View File
@@ -760,7 +760,7 @@ void GameInfoCache::WaitUntilDone(std::shared_ptr<GameInfo> &info) {
}
// Runs on the main thread. Only call from render() and similar, not update()!
// Can also be called from the audio thread for menu background music.
// Can also be called from the audio thread for menu background music, but that cannot request images!
std::shared_ptr<GameInfo> GameInfoCache::GetInfo(Draw::DrawContext *draw, const Path &gamePath, int wantFlags) {
std::shared_ptr<GameInfo> info;