mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 17:33:43 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -133,9 +133,10 @@ CompressedImage * CompressImage(
|
||||||
}
|
}
|
||||||
|
|
||||||
cmpMSTime = cmpTimeTotal / double(settings.iNumCompressions);
|
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
|
// Report compression time
|
||||||
fprintf(stdout, "Compression time: %0.3f ms\n", cmpMSTime);
|
fprintf(stdout, "Compression time: %0.3f ms\n", cmpMSTime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue