mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix tex file migration for small textures.
This commit is contained in:
parent
140d150bb4
commit
00c02fd16e
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ public static class TexFileParser
|
||||||
|
|
||||||
if (width == minSize && height == minSize)
|
if (width == minSize && height == minSize)
|
||||||
{
|
{
|
||||||
newSize = totalSize;
|
++i;
|
||||||
|
newSize = totalSize + requiredSize;
|
||||||
if (header.MipCount != i)
|
if (header.MipCount != i)
|
||||||
{
|
{
|
||||||
Penumbra.Log.Debug($"-- Reduced number of Mip Maps from {header.MipCount} to {i} due to minimum size constraints.");
|
Penumbra.Log.Debug($"-- Reduced number of Mip Maps from {header.MipCount} to {i} due to minimum size constraints.");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue