Compare commits
1 Commits
Pgta/Duck-
...
ph3nom/tex
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
986921cc9c |
8
vendor/librw/src/dc/rwdc.cpp
vendored
8
vendor/librw/src/dc/rwdc.cpp
vendored
@@ -3887,19 +3887,19 @@ imageFindRasterFormat(Image *img, int32 type,
|
|||||||
;
|
;
|
||||||
|
|
||||||
if(downsampleMode >= HALF) {
|
if(downsampleMode >= HALF) {
|
||||||
if(height / 2 >= 16) {
|
if(height / 2 >= 64) {
|
||||||
height /= 2;
|
height /= 2;
|
||||||
}
|
}
|
||||||
if(width / 2 >= 16) {
|
if(width / 2 >= 64) {
|
||||||
width /= 2;
|
width /= 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(downsampleMode >= QUARTER) {
|
if(downsampleMode >= QUARTER) {
|
||||||
if(height / 2 >= 16) {
|
if(height / 2 >= 32) {
|
||||||
height /= 2;
|
height /= 2;
|
||||||
}
|
}
|
||||||
if(width / 2 >= 16) {
|
if(width / 2 >= 32) {
|
||||||
width /= 2;
|
width /= 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user