renders!!!!!!!!!!!!!

This commit is contained in:
Dana Jansens 2003-01-18 03:09:33 +00:00
parent 3fa1352428
commit 4ac47a41a1

View file

@ -58,7 +58,7 @@ TrueRenderControl::~TrueRenderControl()
static inline void renderPixel(XImage *im, unsigned char *dp, static inline void renderPixel(XImage *im, unsigned char *dp,
unsigned long pixel) unsigned long pixel)
{ {
unsigned int bpp = im->bits_per_pixel + (im->byte_order == MSBFirst) ? 1 : 0; unsigned int bpp = im->bits_per_pixel + (im->byte_order == MSBFirst ? 1 : 0);
switch (bpp) { switch (bpp) {
case 8: // 8bpp case 8: // 8bpp