mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 17:38:03 +00:00
Small bugfix
This commit is contained in:
parent
754cd3532a
commit
4601cf00c7
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ bool ImageWriterKTX::WriteImage() {
|
||||||
wtr.Write(kvSz); // key value size
|
wtr.Write(kvSz); // key value size
|
||||||
wtr.Write(orientationKey, strlen(orientationKey) + 1); // key
|
wtr.Write(orientationKey, strlen(orientationKey) + 1); // key
|
||||||
wtr.Write(orientationValue, strlen(orientationValue) + 1); // value
|
wtr.Write(orientationValue, strlen(orientationValue) + 1); // value
|
||||||
wtr.Write(orientationKey, tkvSz - kvSz); // padding
|
wtr.Write(orientationKey, tkvSz - kvSz - 4); // padding
|
||||||
|
|
||||||
if(ci && ci->GetFormat() == FasTC::eCompressionFormat_BPTC) {
|
if(ci && ci->GetFormat() == FasTC::eCompressionFormat_BPTC) {
|
||||||
static const uint32 kImageSize = m_Width * m_Height;
|
static const uint32 kImageSize = m_Width * m_Height;
|
||||||
|
|
Loading…
Reference in a new issue