summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-01-12 21:15:11 +0100
committerRay <[email protected]>2021-01-12 21:15:11 +0100
commit5d1d59069209b44e72e5c0eabb753fbae95f8a55 (patch)
tree3bb11032d26ed75f02f89781f6147af691e84ef6 /src/config.h
parentdfa11e22cf48fffd40f87017ed3c359c0b640e74 (diff)
downloadraylib-5d1d59069209b44e72e5c0eabb753fbae95f8a55.tar.gz
raylib-5d1d59069209b44e72e5c0eabb753fbae95f8a55.zip
REDESIGN: Compresion API
Now it compresses/decompresses valid DEFLATE streams instead of zlib streams. It uses the minimal and efficient libraries: sdefl/sinfl.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index ef664ba1..f84aa017 100644
--- a/src/config.h
+++ b/src/config.h
@@ -77,6 +77,8 @@
#define STORAGE_DATA_FILE "storage.data" // Automatic storage filename
+#define MAX_DECOMPRESSION_SIZE 64 // Max size allocated for decompression in MB
+
//------------------------------------------------------------------------------------
// Module: rlgl - Configuration Flags