diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 02:17:47 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 02:24:36 -0300 |
commit | 22be115eb23ad755acdc113447ad94421a05b46c (patch) | |
tree | 6b7c5a3829a0f1c407e22343b0191ec83b4d8776 /src | |
parent | 0ec71b78fb248eae6b6fbbb3f5735b2f9646fd62 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/textures/astc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index 1f1c3bd3a..3625b666c 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp @@ -197,7 +197,7 @@ struct IntegerEncodedValue { }; }; using IntegerEncodedVector = boost::container::static_vector< - IntegerEncodedValue, 64, + IntegerEncodedValue, 256, boost::container::static_vector_options< boost::container::inplace_alignment<alignof(IntegerEncodedValue)>, boost::container::throw_on_overflow<false>>::type>; |