Fix Generate Mipmaps

This commit is contained in:
Shuken Mondin 2020-12-28 07:33:48 +08:00
parent 394fad02c5
commit 0ac5ba96c9

View file

@ -745,7 +745,7 @@ namespace Toolbox.Library
public uint GenerateMipCount(uint Width, uint Height)
{
uint MipmapNum = 0;
uint MipmapNum = 1;
uint num = Math.Max(Width, Height);
int width = (int)Width;