mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Don't spam icon downloads
This commit is contained in:
parent
53882c4a33
commit
26e07c0fdb
@ -121,8 +121,6 @@ void HttpImageFileView::DownloadCompletedCallback(http::Download &download) {
|
||||
} else {
|
||||
textureFailed_ = true;
|
||||
}
|
||||
|
||||
download_.reset();
|
||||
}
|
||||
|
||||
void HttpImageFileView::Draw(UIContext &dc) {
|
||||
@ -136,6 +134,7 @@ void HttpImageFileView::Draw(UIContext &dc) {
|
||||
if (!texture_)
|
||||
textureFailed_ = true;
|
||||
textureData_.clear();
|
||||
download_.reset();
|
||||
}
|
||||
|
||||
if (HasFocus()) {
|
||||
|
Loading…
Reference in New Issue
Block a user