diff options
| author | Manolo Gouy <Manolo> | 2018-05-07 13:43:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-07 13:43:28 +0000 |
| commit | 4ede9cec29698d2ca3b195e764f228c0da44e02c (patch) | |
| tree | 5ca7e1ace1dc48144eaaae15d9abf1fa1c089a69 /test | |
| parent | d2355dd53b6d7addaccf071fa68ae75f861be967 (diff) | |
New Fl_Image_Surface::rescale() class function and document equivalence between Fl_Offscreen-based and Fl_Image_Surface-based approaches.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/offscreen.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/offscreen.cxx b/test/offscreen.cxx index e6780f640..23cd368a6 100644 --- a/test/offscreen.cxx +++ b/test/offscreen.cxx @@ -99,7 +99,7 @@ void oscr_box::draw() { if (scale != Fl_Graphics_Driver::default_driver().scale()) { // the screen scaling factor has changed - fl_scale_offscreen(oscr); + fl_rescale_offscreen(oscr); scale = Fl_Graphics_Driver::default_driver().scale(); } fl_copy_offscreen(xo, yo, wd, ht, oscr, page_x, page_y); |
