mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
astc: Increase integer encoded vector size
Invalid ASTC textures seem to write more bytes here, increase the size to something that can't make us push out of bounds.
This commit is contained in:
parent
0ec71b78fb
commit
22be115eb2
@ -197,7 +197,7 @@ struct IntegerEncodedValue {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
using IntegerEncodedVector = boost::container::static_vector<
|
using IntegerEncodedVector = boost::container::static_vector<
|
||||||
IntegerEncodedValue, 64,
|
IntegerEncodedValue, 256,
|
||||||
boost::container::static_vector_options<
|
boost::container::static_vector_options<
|
||||||
boost::container::inplace_alignment<alignof(IntegerEncodedValue)>,
|
boost::container::inplace_alignment<alignof(IntegerEncodedValue)>,
|
||||||
boost::container::throw_on_overflow<false>>::type>;
|
boost::container::throw_on_overflow<false>>::type>;
|
||||||
|
Loading…
Reference in New Issue
Block a user