summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Image.cxx')
-rw-r--r--src/Fl_Image.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 4cc6a8603..b1b8b64d7 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -349,7 +349,7 @@ Fl_RGB_Image::Fl_RGB_Image(const uchar *bits, int W, int H, int D, int LD) :
alloc_array(0),
id_(0),
mask_(0),
- cache_scale_(1)
+ cache_w_(0), cache_h_(0)
{
data((const char **)&array, 1);
ld(LD);
@@ -372,7 +372,7 @@ Fl_RGB_Image::Fl_RGB_Image(const Fl_Pixmap *pxm, Fl_Color bg):
alloc_array(0),
id_(0),
mask_(0),
- cache_scale_(1)
+ cache_w_(0), cache_h_(0)
{
if (pxm && pxm->w() > 0 && pxm->h() > 0) {
array = new uchar[w() * h() * d()];