another attempt at fixing strange endian issues
authorDerek Foreman <manmower@gmail.com>
Sat, 1 Feb 2003 02:31:30 +0000 (02:31 +0000)
committerDerek Foreman <manmower@gmail.com>
Sat, 1 Feb 2003 02:31:30 +0000 (02:31 +0000)
otk/truerendercontrol.cc

index e8275fd..41d9cd6 100644 (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;