Merge pull request #17136 from hrydgard/zstd-include-fix

Zstd include fix
This commit is contained in:
Henrik Rydgård 2023-03-16 18:19:28 +01:00 committed by GitHub
commit 2f1441eceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -259,7 +259,6 @@ void ReplacedTexture::Prepare(VFSBackend *vfs) {
return;
}
fmt = fmt;
SetState(ReplacementState::ACTIVE);
if (threadWaitable_)

View file

@ -155,7 +155,7 @@
// If BASISD_SUPPORT_KTX2_ZSTD is 0, UASTC files compressed with Zstd cannot be loaded.
#if BASISD_SUPPORT_KTX2_ZSTD
// We only use two Zstd API's: ZSTD_decompress() and ZSTD_isError()
#include "../zstd/lib/zstd.h"
#include <zstd.h>
#endif
#endif