mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Generate mipmap levels for screenshot views.
This commit is contained in:
1 parent
6151f8ef9f
commit
5b402dd6e5
2 files changed
+5
-1
No files matched your search
@@ -80,6 +80,8 @@ void AsyncImageFileView::Draw(UIContext &dc) {
|
||||
texture_ = dc.GetThin3DContext()->CreateTextureFromFile(filename_.c_str(), DETECT);
|
||||
if (!texture_)
|
||||
textureFailed_ = true;
|
||||
else if (textureAutoGen_)
|
||||
texture_->AutoGenMipmaps();
|
||||
}
|
||||
|
||||
if (HasFocus()) {
|
||||
|
||||
Reference in new issue
Block a user