WrapMode=3 behaves the same as Clamp

This commit is contained in:
Pokechu22
2021-07-20 12:53:32 -07:00
parent b515786c8d
commit 19332575aa
2 changed files with 4 additions and 1 deletions

View File

@ -713,6 +713,8 @@ enum class WrapMode : u32
Clamp = 0,
Repeat = 1,
Mirror = 2,
// Hardware testing indicates that WrapMode set to 3 behaves the same as clamp, though this is an
// invalid value
};
template <>
struct fmt::formatter<WrapMode> : EnumFormatter<WrapMode::Mirror>