diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/device.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/device.cxx b/test/device.cxx index 2fd2a9016..1d0671601 100644 --- a/test/device.cxx +++ b/test/device.cxx @@ -576,7 +576,7 @@ void copy(Fl_Widget *, void *data) { rgb_surf->draw_decorated_window(target->as_window()); else rgb_surf->draw(target); - Fl_Image *img = rgb_surf->highres_image(); + Fl_Image *img = rgb_surf->image(); delete rgb_surf; Fl_Surface_Device::pop_current(); if (img) { |
