1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
5 #include "pseudorendercontrol.hh"
7 #include "screeninfo.hh"
9 #include "rendertexture.hh"
14 #endif // HAVE_STDLIB_H
16 #include "../src/gettext.h"
17 #define _(str) gettext(str)
22 PseudoRenderControl::PseudoRenderControl(int screen)
23 : RenderControl(screen)
25 printf("Initializing PseudoColor RenderControl\n");
27 const ScreenInfo *info = display->screenInfo(_screen);
30 PseudoRenderControl::~PseudoRenderControl()
32 printf("Destroying PseudoColor RenderControl\n");
35 void PseudoRenderControl::reduceDepth(Surface &sf, XImage *im) const