another attempt at fixing strange endian issues
This commit is contained in:
parent
f92804ec20
commit
9a47b042de
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void TrueRenderControl::drawGradientBackground(
|
|||
const ScreenInfo *info = display->screenInfo(_screen);
|
||||
XImage *im = XCreateImage(**display, info->visual(), info->depth(),
|
||||
ZPixmap, 0, NULL, w, h, 32, 0);
|
||||
|
||||
im->byte_order = LSBFirst;
|
||||
pixel32 *data = new pixel32[sf.height()*sf.width()];
|
||||
pixel32 current;
|
||||
|
||||
|
|
Loading…
Reference in a new issue