mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Revert a small change to cache1d and default lz4CompressionLevel to 5
git-svn-id: https://svn.eduke32.com/eduke32@6812 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
851c7755c2
commit
d2a3e2a70d
1 changed files with 2 additions and 2 deletions
|
@ -298,7 +298,7 @@ void agecache(void)
|
|||
if (agecount >= cacnum)
|
||||
agecount = cacnum-1;
|
||||
|
||||
native_t cnt = (cacnum>>5);
|
||||
native_t cnt = (cacnum>>4);
|
||||
|
||||
if (agecount < 0 || !cnt)
|
||||
return;
|
||||
|
@ -1708,7 +1708,7 @@ int32_t kdfread(void *buffer, bsize_t dasizeof, bsize_t count, int32_t fil)
|
|||
|
||||
// LZ4_COMPRESSION_ACCELERATION_VALUE can be tuned for performance/space trade-off
|
||||
// (lower number = higher compression ratio, higher number = faster compression speed)
|
||||
#define LZ4_COMPRESSION_ACCELERATION_VALUE 15
|
||||
#define LZ4_COMPRESSION_ACCELERATION_VALUE 5
|
||||
|
||||
static char compressedDataStackBuf[131072];
|
||||
int32_t lz4CompressionLevel = LZ4_COMPRESSION_ACCELERATION_VALUE;
|
||||
|
|
Loading…
Reference in a new issue