]> Dogcows Code - chaz/openbox/commitdiff
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 e8275fd14d7d57a0c50931541fea1e6a6be84fe6..41d9cd6c025c36e1c5752ff71593fc9787334db7 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;
 
This page took 0.022396 seconds and 4 git commands to generate.