projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92804e
)
another attempt at fixing strange endian issues
author
Derek Foreman
<manmower@gmail.com>
Sat, 1 Feb 2003 02:31:30 +0000
(
02:31
+0000)
committer
Derek Foreman
<manmower@gmail.com>
Sat, 1 Feb 2003 02:31:30 +0000
(
02:31
+0000)
otk/truerendercontrol.cc
patch
|
blob
|
history
diff --git
a/otk/truerendercontrol.cc
b/otk/truerendercontrol.cc
index
e8275fd
..
41d9cd6
100644
(file)
--- 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;