1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

only 4 deep

This commit is contained in:
Bret Curtis 2023-06-14 22:31:08 +02:00
parent 5b30af20be
commit 0b1a0ad1a8

View file

@ -82,7 +82,7 @@ namespace fx
{ "s3tc_dxt1a", osg::Texture::USE_S3TC_DXT1a_COMPRESSION }, { "s3tc_dxt1a", osg::Texture::USE_S3TC_DXT1a_COMPRESSION },
} }; } };
constexpr std::array<std::pair<std::string_view, osg::Texture::WrapMode>, 6> WrapMode = { { constexpr std::array<std::pair<std::string_view, osg::Texture::WrapMode>, 4> WrapMode = { {
{ "clamp_to_edge", osg::Texture::CLAMP_TO_EDGE }, { "clamp_to_edge", osg::Texture::CLAMP_TO_EDGE },
{ "clamp_to_border", osg::Texture::CLAMP_TO_BORDER }, { "clamp_to_border", osg::Texture::CLAMP_TO_BORDER },
{ "repeat", osg::Texture::REPEAT }, { "repeat", osg::Texture::REPEAT },