mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Simplification around textures
This commit is contained in:
1 parent
d8dbb8389b
commit
528af8a939
11 files changed
+86
-51
No files matched your search
@@ -81,8 +81,6 @@ void AsyncImageFileView::Draw(UIContext &dc) {
|
||||
texture_ = CreateTextureFromFile(dc.GetThin3DContext(), filename_.c_str(), DETECT);
|
||||
if (!texture_)
|
||||
textureFailed_ = true;
|
||||
else if (textureAutoGen_) // TODO: Iffy
|
||||
texture_->GetTexture()->AutoGenMipmaps();
|
||||
}
|
||||
|
||||
if (HasFocus()) {
|
||||
|
||||
Reference in new issue
Block a user