Fallback to CPU compressor only on smaller images.
This commit is contained in:
parent
a28ebb4ccf
commit
a02649faa9
@ -956,7 +956,7 @@ bool Compressor::Private::compressMipmap(const Mipmap & mipmap, const InputOptio
|
||||
SlowCompressor slow;
|
||||
slow.setImage(image, inputOptions.alphaMode);
|
||||
|
||||
const bool useCuda = cudaEnabled && image->width() * image->height() >= 1024;
|
||||
const bool useCuda = cudaEnabled && image->width() * image->height() >= 512;
|
||||
|
||||
if (compressionOptions.format == Format_DXT1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user