summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-02-01 02:31:30 +0000
committerDerek Foreman <manmower@gmail.com>2003-02-01 02:31:30 +0000
commit9a47b042de1ca670da3219dbd2b97e98bc2376ed (patch)
tree3c627038e8c85c155272bf84696128852d71bf57
parentf92804ec20cb51d8656887ea9a78d68a06b1f02a (diff)
another attempt at fixing strange endian issues
-rw-r--r--otk/truerendercontrol.cc2
1 files changed, 1 insertions, 1 deletions
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;