From 79fd5d88f9f269513a2e8c35413f0db4671b054f Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 28 May 2009 17:00:03 -0700 Subject: Changing the pixel sampler for the anti aliased function. --- src/plugin-luaosmesa.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3