summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugin-luaosmesa.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugin-luaosmesa.cc b/src/plugin-luaosmesa.cc
index a594e0e..f89b712 100644
--- a/src/plugin-luaosmesa.cc
+++ b/src/plugin-luaosmesa.cc
@@ -100,7 +100,8 @@ void flip_scene(scene_t * scene, const char * buffer, int width, int height, boo
if (upscale) {
// i.resize(Magick::Geometry(width / 2, height / 2));
- i.sample(Magick::Geometry(width / 2, height / 2));
+ i.filterType(MagickLib::CubicFilter);
+ i.scale(Magick::Geometry(width / 2, height / 2));
}
scene->scene.push_back(i);