Add CreateTextureFromFileData (without ManagedTexture)

This commit is contained in:
Henrik Rydgård committed 2023-12-12 22:24:13 +01:00
1 parent d2e10a058e
commit 82bdc9ec50
3 files changed
+39 -27

No files matched your search

+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;