diff options
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/textures/astc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index eb93b44bd..5c65844dd 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp | |||
| @@ -1538,6 +1538,8 @@ static void DecompressBlock(const u8 inBuf[16], const u32 blockWidth, const u32 | |||
| 1538 | memset(texelWeightData + clearByteStart, 0, 16 - clearByteStart); | 1538 | memset(texelWeightData + clearByteStart, 0, 16 - clearByteStart); |
| 1539 | 1539 | ||
| 1540 | std::vector<IntegerEncodedValue> texelWeightValues; | 1540 | std::vector<IntegerEncodedValue> texelWeightValues; |
| 1541 | texelWeightValues.reserve(64); | ||
| 1542 | |||
| 1541 | InputBitStream weightStream(texelWeightData); | 1543 | InputBitStream weightStream(texelWeightData); |
| 1542 | 1544 | ||
| 1543 | DecodeIntegerSequence(texelWeightValues, weightStream, weightParams.m_MaxWeight, | 1545 | DecodeIntegerSequence(texelWeightValues, weightStream, weightParams.m_MaxWeight, |