Logrus
Topic Author
Posts: 37
Joined: 22 Jul 2015, 12:16

Crash loading texture

26 Oct 2021, 16:30

Hi.
Crash when loading texture 60x170
(DX11, Noesis 3.1.0)

FileTextureProvider calculates numMipLeves incorrectly
Ptr<Texture> FileTextureProvider::LoadTexture(const Uri& uri, RenderDevice* device)
{
....
 uint32_t numLevels = Max(Log2(x), Log2(y));   /////  Min(Log2(x), Log2(y))    !!!!
}

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3338
Joined: 20 Jan 2012, 17:18
Contact:

Re: Crash loading texture

26 Oct 2021, 17:25

Yes, this was fixed in 3.1.1, please upgrade. Thanks for the feedback!

Who is online

Users browsing this forum: Google [Bot] and 1 guest