1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 08:45:33 +00:00

don't resize user defined samplers to power of 2

This commit is contained in:
glassmancody.info 2022-05-23 19:44:39 -07:00
parent 7df5e7f62a
commit a987b01717

View file

@ -510,6 +510,7 @@ namespace fx
if (proxy.internal_format.has_value())
sampler->setSourceFormat(proxy.internal_format.value());
sampler->setName(std::string{mBlockName});
sampler->setResizeNonPowerOfTwoHint(false);
mTextures.emplace_back(sampler);