From 325a909dcdf5faa3a1cd5d30c45f2cda77c5ab4c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 12 Feb 2003 00:42:19 +0000 Subject: [PATCH] move printf.. --- otk/pseudorendercontrol.cc | 2 ++ otk/truerendercontrol.cc | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/otk/pseudorendercontrol.cc b/otk/pseudorendercontrol.cc index 31b4df71..f6162cec 100644 --- a/otk/pseudorendercontrol.cc +++ b/otk/pseudorendercontrol.cc @@ -23,6 +23,8 @@ PseudoRenderControl::PseudoRenderControl(int screen) : RenderControl(screen) { printf("Initializing PseudoColor RenderControl\n"); + + const ScreenInfo *info = display->screenInfo(_screen); } PseudoRenderControl::~PseudoRenderControl() diff --git a/otk/truerendercontrol.cc b/otk/truerendercontrol.cc index ffe5b181..47c97aa1 100644 --- a/otk/truerendercontrol.cc +++ b/otk/truerendercontrol.cc @@ -25,10 +25,11 @@ TrueRenderControl::TrueRenderControl(int screen) _green_offset(0), _blue_offset(0) { + printf("Initializing TrueColor RenderControl\n"); + const ScreenInfo *info = display->screenInfo(_screen); XImage *timage = XCreateImage(**display, info->visual(), info->depth(), ZPixmap, 0, NULL, 1, 1, 32, 0); - printf("Initializing TrueColor RenderControl\n"); unsigned long red_mask, green_mask, blue_mask; -- 2.45.2