fix util_get_lowest_resolution
This commit is contained in:
parent
185c90c67f
commit
bcfe2a6c4d
1 changed files with 2 additions and 2 deletions
|
@ -218,8 +218,8 @@ BOOL util_get_lowest_resolution(
|
|||
m.dmPelsHeight >= min_height &&
|
||||
m.dmPelsWidth <= max_width &&
|
||||
m.dmPelsHeight <= max_height &&
|
||||
m.dmPelsWidth < lowest.cx &&
|
||||
m.dmPelsHeight < lowest.cy)
|
||||
m.dmPelsWidth <= lowest.cx &&
|
||||
m.dmPelsHeight <= lowest.cy)
|
||||
{
|
||||
int res_ratio = (int)((((float)m.dmPelsWidth / m.dmPelsHeight) + 0.005f) * 10);
|
||||
|
||||
|
|
Loading…
Reference in a new issue