mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 10:55:55 +01:00
Don't memset if we don't need to.
This commit is contained in:
parent
0b85431526
commit
d0260d3755
@ -677,8 +677,6 @@ namespace PVRTCC {
|
||||
assert(width & (width - 1) == 0);
|
||||
assert(height & (height - 1) == 0);
|
||||
|
||||
memset(cj.outBuf, 0, (width * height / 16) * kBlockSize);
|
||||
|
||||
CompressionLabel *labels =
|
||||
(CompressionLabel *)calloc(width * height, sizeof(CompressionLabel));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user