diff options
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imageloader.c b/imageloader.c index 6ff417a..4b31aed 100644 --- a/imageloader.c +++ b/imageloader.c @@ -61,7 +61,7 @@ bool cImageLoader::LoadIcon(const char *cIcon, int width, int height) { } if (!success) return false; - buffer.scale(Geometry(width, height)); + buffer.sample(Geometry(width, height)); return true; } catch (...) { |