]> Dogcows Code - chaz/openbox/commitdiff
move printf..
authorDana Jansens <danakj@orodu.net>
Wed, 12 Feb 2003 00:42:19 +0000 (00:42 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 12 Feb 2003 00:42:19 +0000 (00:42 +0000)
otk/pseudorendercontrol.cc
otk/truerendercontrol.cc

index 31b4df71505e8c69a78dfd6a53a0d2ba2871aa33..f6162cec7df6f6c28fcf0d790ee6458048356607 100644 (file)
@@ -23,6 +23,8 @@ PseudoRenderControl::PseudoRenderControl(int screen)
   : RenderControl(screen)
 {
   printf("Initializing PseudoColor RenderControl\n");
+
+  const ScreenInfo *info = display->screenInfo(_screen);
 }
 
 PseudoRenderControl::~PseudoRenderControl()
index ffe5b181388685a33493bd499aecd2dafd05013c..47c97aa188826c870e7e803237fa91a5b02a549e 100644 (file)
@@ -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;
 
This page took 0.022555 seconds and 4 git commands to generate.