mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 11:45:43 +01:00
Make sure that the compressed image gets created regardless of the number of threads used.
This commit is contained in:
parent
3cac6ae464
commit
9fa011f8d1
@ -133,9 +133,10 @@ CompressedImage * CompressImage(
|
||||
}
|
||||
|
||||
cmpMSTime = cmpTimeTotal / double(settings.iNumCompressions);
|
||||
outImg = new CompressedImage(img.GetWidth(), img.GetHeight(), settings.format, cmpData);
|
||||
}
|
||||
|
||||
outImg = new CompressedImage(img.GetWidth(), img.GetHeight(), settings.format, cmpData);
|
||||
|
||||
// Report compression time
|
||||
fprintf(stdout, "Compression time: %0.3f ms\n", cmpMSTime);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user