summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-20 15:33:29 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-20 15:35:04 +0100
commit7758020edb65b5dc2197110b7d70b48764e940a6 (patch)
tree7d3e31423c7352b8ef7402f1433bfdb1df686b1c /src/Fl_Image.cxx
parent791fc7d6eb7e01d6886c43a8c8cc0fe43cac2e8a (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/Fl_Image.cxx')
0 files changed, 0 insertions, 0 deletions