summaryrefslogtreecommitdiff
path: root/FL/Fl_Tiled_Image.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-08 11:17:03 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-08 11:17:03 +0100
commit09db3a6dea4b6c6d23a81ba32c84e278c1964184 (patch)
tree561fb9e64a0b653d525e9f172a75edef4058bfda /FL/Fl_Tiled_Image.H
parent222b2ea2e84a9c50a222cce22e19aaba110c6f11 (diff)
Fix "Xrender blurs adjacent images with bilinear scaling" (#633)
Many thanks to @wcout for providing this fix. Xrender now draws images in the same way when tiling images or not when FL_RGB_SCALING_BILINEAR is on. This allows to remove static bool Fl_Tiled_Image::drawing_tiled_image() which becomes unused.
Diffstat (limited to 'FL/Fl_Tiled_Image.H')
-rw-r--r--FL/Fl_Tiled_Image.H4
1 files changed, 0 insertions, 4 deletions
diff --git a/FL/Fl_Tiled_Image.H b/FL/Fl_Tiled_Image.H
index d705dda5e..10015aa32 100644
--- a/FL/Fl_Tiled_Image.H
+++ b/FL/Fl_Tiled_Image.H
@@ -30,16 +30,12 @@
color_average(), desaturate(), or inactive() methods.
*/
class FL_EXPORT Fl_Tiled_Image : public Fl_Image {
-private:
- static bool drawing_tiled_image_;
protected:
Fl_Image *image_; // The image that is tiled
int alloc_image_; // Did we allocate this image?
public:
- /** Returns true when the FLTK library is currently drawing an Fl_Tiled_Image object. */
- static inline bool drawing_tiled_image() { return drawing_tiled_image_;};
Fl_Tiled_Image(Fl_Image *i, int W = 0, int H = 0);
virtual ~Fl_Tiled_Image();