diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-03-20 15:33:29 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-03-20 15:35:04 +0100 |
| commit | 7758020edb65b5dc2197110b7d70b48764e940a6 (patch) | |
| tree | 7d3e31423c7352b8ef7402f1433bfdb1df686b1c /src/drivers | |
| parent | 791fc7d6eb7e01d6886c43a8c8cc0fe43cac2e8a (diff) | |
Fix Fl_Tiled_Image::copy(int W, int H)
Remove false "optimization" that would return the same pointer
if the requested width and height are the same.
Note: copy() must always return a new image (this is the expected
behavior of copy). Otherwise deleting one of the objects (either
the source or the copy) would delete the other one as well.
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions
