another attempt at fixing strange endian issues

This commit is contained in:
Derek Foreman 2003-02-01 02:31:30 +00:00
parent f92804ec20
commit 9a47b042de

View file

@ -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;