From f88732b807281ac94e4dc6575daf9d2a13905eb0 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sat, 21 Dec 2013 13:31:52 +0100 Subject: Some more RTFL messages. --- dw/fltkimgbuf.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dw/fltkimgbuf.cc') 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; -- cgit v1.2.3