Merge pull request #2534 from Lectem/fix_etc1_msvc15
Use std::array<u8,2> instead of u8[2] to fix MSVC build
This commit is contained in:
commit
05a6f243f8
|
@ -17,7 +17,7 @@ namespace Texture {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
constexpr std::array<u8[2], 8> etc1_modifier_table = {{
|
constexpr std::array<std::array<u8, 2>, 8> etc1_modifier_table = {{
|
||||||
{2, 8}, {5, 17}, {9, 29}, {13, 42}, {18, 60}, {24, 80}, {33, 106}, {47, 183},
|
{2, 8}, {5, 17}, {9, 29}, {13, 42}, {18, 60}, {24, 80}, {33, 106}, {47, 183},
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|
Reference in New Issue