diff options
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; |