Get max xbrz scale size from lib
Bumps the max to 6
This commit is contained in:
parent
d7a9421d26
commit
cdec7adecf
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ surface scale_surface_xbrz(const surface & surf, std::size_t z)
|
|||
if(surf == nullptr)
|
||||
return nullptr;
|
||||
|
||||
if (z > 5) {
|
||||
PLAIN_LOG << "Cannot use xbrz scaling with zoom factor > 5.";
|
||||
if (z > xbrz::SCALE_FACTOR_MAX) {
|
||||
PLAIN_LOG << "Cannot use xbrz scaling with zoom factor > " << xbrz::SCALE_FACTOR_MAX;
|
||||
z = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue