-rw-r--r-- | agg-plot/bitmap-plot.cpp | 2 |
diff --git a/agg-plot/bitmap-plot.cpp b/agg-plot/bitmap-plot.cpp index 2d9d16e4..c3039f15 100644 --- a/agg-plot/bitmap-plot.cpp +++ b/agg-plot/bitmap-plot.cpp @@ -38,7 +38,7 @@ bitmap_save_image_cpp (sg_plot *p, const char *fn, unsigned w, unsigned h, p->draw(can, mtx); - bool success = platform_support_ext::save_image_file (rbuf_tmp, fn); + bool success = platform_support_ext::save_image_file (rbuf_tmp, fn, gslshell::pixel_format); if (! success) st.error("cannot save image file", "plot save"); |