mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Increase texture size limit to 1024. It's actually used by FF3.
This commit is contained in:
parent
859e124f1a
commit
a8b8e44de1
@ -2822,7 +2822,7 @@ bool TextureCacheCommon::PrepareBuildTexture(BuildTexturePlan &plan, TexCacheEnt
|
||||
plan.scaleFactor = 1;
|
||||
} else if (!g_DoubleTextureCoordinates) {
|
||||
// Refuse to load invalid-ly sized textures, which can happen through display list corruption.
|
||||
if (plan.w > 512 || plan.h > 512) {
|
||||
if (plan.w > 1024 || plan.h > 1024) {
|
||||
ERROR_LOG(G3D, "Bad texture dimensions: %dx%d", plan.w, plan.h);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user