renders!!!!!!!!!!!!!
This commit is contained in:
parent
3fa1352428
commit
4ac47a41a1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue