From: Derek Foreman Date: Sat, 1 Feb 2003 02:31:30 +0000 (+0000) Subject: another attempt at fixing strange endian issues X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9a47b042de1ca670da3219dbd2b97e98bc2376ed;p=chaz%2Fopenbox another attempt at fixing strange endian issues --- diff --git a/otk/truerendercontrol.cc b/otk/truerendercontrol.cc index e8275fd1..41d9cd6c 100644 --- a/otk/truerendercontrol.cc +++ b/otk/truerendercontrol.cc @@ -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;