mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +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 {
|
} else {
|
||||||
textureFailed_ = true;
|
textureFailed_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
download_.reset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HttpImageFileView::Draw(UIContext &dc) {
|
void HttpImageFileView::Draw(UIContext &dc) {
|
||||||
@ -136,6 +134,7 @@ void HttpImageFileView::Draw(UIContext &dc) {
|
|||||||
if (!texture_)
|
if (!texture_)
|
||||||
textureFailed_ = true;
|
textureFailed_ = true;
|
||||||
textureData_.clear();
|
textureData_.clear();
|
||||||
|
download_.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (HasFocus()) {
|
if (HasFocus()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user