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:
parent
7df5e7f62a
commit
a987b01717
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue