diff options
author | Pixel <pixel@nobis-crew.org> | 2009-05-28 17:00:03 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-05-28 17:00:03 -0700 |
commit | 79fd5d88f9f269513a2e8c35413f0db4671b054f (patch) | |
tree | 024b4aa9c2591d6131c2e13cc5a004b248c2911e /src | |
parent | 08350cf5915d021eda4cb73b75dcead3b28e924a (diff) |
Changing the pixel sampler for the anti aliased function.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin-luaosmesa.cc | 3 |
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); |