HomeWildfire Games

Avoids a crash if a texture size is not a power of two.

Description

Avoids a crash if a texture size is not a power of two.

Tested By: Stan

Differential Revision: https://code.wildfiregames.com/D4586

Event Timeline

Oddly enough, prior to this patch, I had no NPOT errors. Only after this patch hit the repo do I now get NPOT errors. The exact opposite effect. Who is this fix for? More ancient hardware?

Only after this patch hit the repo do I now get NPOT errors.

It means your repo has bad textures which were lucky to be undetected.

Who is this fix for?

Everyone, POT is a more comfortable format for hardware (especially low-end one).

More ancient hardware?

And that too.