mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Add Auto-texture scaling
Update resource.h Update WndMainWindow.h Update WndMainWindow.cpp Update ppsspp.rc position fix Update TextureCache.cpp Update TextureCache.cpp
This commit is contained in:
1 parent
03735c13b2
commit
88c36b5b25
5 files changed
+20
-6
No files matched your search
@@ -1437,7 +1437,12 @@ void TextureCache::LoadTextureLevel(TexCacheEntry &entry, int level, bool replac
|
||||
glPixelStorei(GL_UNPACK_ALIGNMENT, texByteAlign);
|
||||
glPixelStorei(GL_PACK_ALIGNMENT, texByteAlign);
|
||||
|
||||
int scaleFactor = g_Config.iTexScalingLevel;
|
||||
int scaleFactor;
|
||||
//Auto-texture scale upto 5x rendering resolution
|
||||
if (g_Config.iTexScalingLevel == 0)
|
||||
scaleFactor = std::min(5, g_Config.iInternalResolution);
|
||||
else
|
||||
scaleFactor = g_Config.iTexScalingLevel;
|
||||
|
||||
// Don't scale the PPGe texture.
|
||||
if (entry.addr > 0x05000000 && entry.addr < 0x08800000)
|
||||
|
||||
Reference in new issue
Block a user