mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Don't spam icon downloads
This commit is contained in:
1 parent
53882c4a33
commit
26e07c0fdb
1 file changed
+1
-2
+1
-2
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user