summaryrefslogtreecommitdiff
path: root/dw/fltkimgbuf.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-12-21 13:31:52 +0100
committerSebastian Geerken <devnull@localhost>2013-12-21 13:31:52 +0100
commitf88732b807281ac94e4dc6575daf9d2a13905eb0 (patch)
tree4ea3938e633dc2fca0ce90ae65369a01478b189a /dw/fltkimgbuf.cc
parent86d34443bb7ccd374b685b72c79682faabd2c0af (diff)
Some more RTFL messages.
Diffstat (limited to 'dw/fltkimgbuf.cc')
-rw-r--r--dw/fltkimgbuf.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc
index 86497160..e537c761 100644
--- a/dw/fltkimgbuf.cc
+++ b/dw/fltkimgbuf.cc
@@ -78,6 +78,8 @@ void FltkImgbuf::freeall ()
FltkImgbuf::FltkImgbuf (Type type, int width, int height, double gamma)
{
+ DBG_OBJ_CREATE ("dw::fltk::FltkImgbuf");
+
_MSG("FltkImgbuf: new root %p\n", this);
init (type, width, height, gamma, NULL);
}
@@ -124,6 +126,9 @@ void FltkImgbuf::init (Type type, int width, int height, double gamma,
this->height = height;
this->gamma = gamma;
+ DBG_OBJ_SET_NUM ("width", width);
+ DBG_OBJ_SET_NUM ("height", height);
+
// TODO: Maybe this is only for root buffers
switch (type) {
case RGBA: bpp = 4; break;