move printf..

This commit is contained in:
Dana Jansens 2003-02-12 00:42:19 +00:00
parent fe1473bccc
commit 325a909dcd
2 changed files with 4 additions and 1 deletions

View file

@ -23,6 +23,8 @@ PseudoRenderControl::PseudoRenderControl(int screen)
: RenderControl(screen) : RenderControl(screen)
{ {
printf("Initializing PseudoColor RenderControl\n"); printf("Initializing PseudoColor RenderControl\n");
const ScreenInfo *info = display->screenInfo(_screen);
} }
PseudoRenderControl::~PseudoRenderControl() PseudoRenderControl::~PseudoRenderControl()

View file

@ -25,10 +25,11 @@ TrueRenderControl::TrueRenderControl(int screen)
_green_offset(0), _green_offset(0),
_blue_offset(0) _blue_offset(0)
{ {
printf("Initializing TrueColor RenderControl\n");
const ScreenInfo *info = display->screenInfo(_screen); const ScreenInfo *info = display->screenInfo(_screen);
XImage *timage = XCreateImage(**display, info->visual(), info->depth(), XImage *timage = XCreateImage(**display, info->visual(), info->depth(),
ZPixmap, 0, NULL, 1, 1, 32, 0); ZPixmap, 0, NULL, 1, 1, 32, 0);
printf("Initializing TrueColor RenderControl\n");
unsigned long red_mask, green_mask, blue_mask; unsigned long red_mask, green_mask, blue_mask;