aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/fltkimgbuf.cc4
-rw-r--r--dw/platform.hh3
2 files changed, 3 insertions, 4 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc
index 4b93601f..56a673fa 100644
--- a/dw/fltkimgbuf.cc
+++ b/dw/fltkimgbuf.cc
@@ -91,8 +91,8 @@ void FltkImgbuf::init (Type type, int width, int height, double gamma,
case RGB: bpp = 3; break;
default: bpp = 1; break;
}
- _MSG("FltkImgbuf::init width=%d height=%d bpp=%d gamma=%g\n",
- width, height, bpp, gamma);
+ MSG("FltkImgbuf::init width=%d height=%d bpp=%d gamma=%g\n",
+ width, height, bpp, gamma);
rawdata = new uchar[bpp * width * height];
// Set light-gray as interim background color.
memset(rawdata, 222, width*height*bpp);
diff --git a/dw/platform.hh b/dw/platform.hh
index 532f4cf9..227cda33 100644
--- a/dw/platform.hh
+++ b/dw/platform.hh
@@ -149,8 +149,7 @@ public:
/**
* \brief Create a (platform speficic) image buffer.
*
- * "gamma" is the value by which the image data is already
- * corrected.
+ * "gamma" is the value by which the image data is gamma-encoded.
*/
virtual Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height,
double gamma) = 0;