summaryrefslogtreecommitdiff
path: root/source/core/slang-deflate-compression-system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-deflate-compression-system.cpp')
-rw-r--r--source/core/slang-deflate-compression-system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-deflate-compression-system.cpp b/source/core/slang-deflate-compression-system.cpp
index dab6654f7..6c75de9e4 100644
--- a/source/core/slang-deflate-compression-system.cpp
+++ b/source/core/slang-deflate-compression-system.cpp
@@ -50,7 +50,7 @@ SlangResult DeflateCompressionSystemImpl::compress(const CompressionStyle* style
size_t compressedSizeInBytes;
const int flags = 0;
- void* compressed = tdefl_compress_mem_to_heap(src, srcSizeInBytes, &compressedSizeInBytes, 0);
+ void* compressed = tdefl_compress_mem_to_heap(src, srcSizeInBytes, &compressedSizeInBytes, flags);
if (!compressed)
{