printf("Destroying PseudoColor RenderControl\n");
}
-void PseudoRenderControl::drawBackground(Surface& sf,
- const RenderTexture &texture) const
+void PseudoRenderControl::reduceDepth(Surface &sf, XImage *im) const
{
- assert(_screen == sf._screen);
- assert(_screen == texture.color().screen());
-
- // in psuedo color, gradients aren't even worth while! just draw a solid!
- //if (texture.gradient() == RenderTexture::Solid) {
- drawSolidBackground(sf, texture);
}
}