diff options
| author | Manolo Gouy <Manolo> | 2016-02-27 13:52:27 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-27 13:52:27 +0000 |
| commit | 0b406baa0f05d8b829d2c35b10c8450e7628be53 (patch) | |
| tree | 62d91890f7194e00ea9f40e89f640c7c013c7b45 /test | |
| parent | 5d24872dc40e1047cea6337d8823718ac2acd575 (diff) | |
Rewrite all fl_XXX_offscreen() functions so they use an Fl_Image_Surface object.
These functions become therefore platform-independent.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 7557f225a..60450c43d 100644 --- a/test/device.cxx +++ b/test/device.cxx @@ -565,7 +565,7 @@ void copy(Fl_Widget *, void *data) { } rgb_surf = new Fl_Image_Surface(W, H, 1); rgb_surf->set_current(); - fl_color(FL_YELLOW);fl_rectf(0,0,1000,1000); + fl_color(FL_YELLOW);fl_rectf(0,0,W,H); if (decorated) rgb_surf->draw_decorated_window(target->as_window()); else |
