diff options
author | ulteq <ulteq@web.de> | 2018-08-19 14:47:11 +0200 |
---|---|---|
committer | ulteq <ulteq@web.de> | 2018-08-19 14:47:11 +0200 |
commit | 935f5c340f0e31351c9fb53997c746ec30f435f1 (patch) | |
tree | b1bf915a6687b561828a388e58f3139c81321d4a | |
parent | bc984ff15d35259413577ddc8f5cda408b91e49b (diff) |
Antialias rotated images even at native resolution
Partial fix of: #310
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index fe0b505..b68d56f 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -520,7 +520,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) D(("sx: %d sy: %d sw: %d sh: %d dx: %d dy: %d dw: %d dh: %d zoom: %f\n", sx, sy, sw, sh, dx, dy, dw, dh, winwid->zoom)); - if ((winwid->zoom != 1.0) && !force_alias && !winwid->force_aliasing) + if ((winwid->zoom != 1.0 || winwid->has_rotated) && !force_alias && !winwid->force_aliasing) antialias = 1; D(("winwidget_render(): winwid->im_angle = %f\n", winwid->im_angle)); |