diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2006-07-23 22:44:42 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2006-07-23 22:44:42 +0000 |
commit | 000f7502ba5ff036883c6484ca36594fc9ffb469 (patch) | |
tree | 613511757ac79944a7c3d3db12604f66f945083b /gtk/gtk_plotters.c | |
parent | 18d84f0c108c207f90d64803dd8834cfe6525374 (diff) | |
download | netsurf-000f7502ba5ff036883c6484ca36594fc9ffb469.tar.gz netsurf-000f7502ba5ff036883c6484ca36594fc9ffb469.tar.bz2 |
Make image resampling optional in nsgtk
svn path=/trunk/netsurf/; revision=2794
Diffstat (limited to 'gtk/gtk_plotters.c')
-rw-r--r-- | gtk/gtk_plotters.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 8eda4a83d..773137381 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -280,7 +280,8 @@ bool nsgtk_plot_bitmap(int x, int y, int width, int height, GdkPixbuf *scaled; scaled = gdk_pixbuf_scale_simple(pixbuf, width, height, - GDK_INTERP_BILINEAR); + option_render_resample ? GDK_INTERP_BILINEAR + : GDK_INTERP_NEAREST); if (!scaled) return false; |