start of pseudo init
Dana Jansens danakj@orodu.net
2 files changed,
2 insertions(+),
3 deletions(-)
M
otk/pseudorendercontrol.cc
→
otk/pseudorendercontrol.cc
@@ -29,7 +29,7 @@
_cpc = 4; // XXX THIS SHOULD BE A USER OPTION _ncolors = _cpc * _cpc * _cpc; - if (_cpc < 2 || ncolors > 1 << depth) { + if (_cpc < 2 || _ncolors > 1 << depth) { fprintf(stderr, _("PseudoRenderControl: Invalid colormap size. Using maximum size available.\n"));
M
otk/pseudorendercontrol.hh
→
otk/pseudorendercontrol.hh
@@ -17,10 +17,9 @@ unsigned char _blue_color_table[256];
int _cpc; // colors-per-channel: must be a value between [2,6] int _bpp; // bits-per-pixel + int _ncolors; // number of allocated colors, size of the XColor array - // These are only used for !TrueColor visuals XColor *_colors; - int _ncolors; virtual void reduceDepth(Surface &sf, XImage *im) const;