Disable lanczos filter with software emulation
This commit is contained in:
parent
91a6efce33
commit
2a41229e93
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ void LanczosFilter::init()
|
|||
// also radeon before R600 has trouble
|
||||
if (gl->isRadeon() && gl->chipClass() < R600)
|
||||
return;
|
||||
// and also for software emulation (e.g. llvmpipe)
|
||||
if (gl->isSoftwareEmulation()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
QFile ff(gl->glslVersion() >= kVersionNumber(1, 40) ?
|
||||
QStringLiteral(":/resources/shaders/1.40/lanczos-fragment.glsl") :
|
||||
|
|
Loading…
Reference in a new issue