Make Crunch compression work correctly on CPU supporting 16 or more threads

Explanation:

Crunch library has been designed to work correctly when using up to 16 threads. Considering that one of those threads is the main thread, the maximum number of helper threads should be set to 15.
This commit is contained in:
Alexander Suvorov
2018-10-23 20:23:56 +02:00
parent 660322d3a6
commit 4bb735f796
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -92,7 +92,7 @@ enum crn_limits {
cCRNMaxFaces = 6,
cCRNMaxLevels = 16,
cCRNMaxHelperThreads = 16,
cCRNMaxHelperThreads = 15,
cCRNMinQualityLevel = 0,
cCRNMaxQualityLevel = 255