From: Michael Gernoth Date: Sun, 13 Jan 2008 19:28:18 +0000 (+0100) Subject: disable image translation until a case is found where it is really needed X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/7d4d5431748eab78b40e67c10888134745fe87c9?ds=inline disable image translation until a case is found where it is really needed --- diff --git a/src/sim/w_x.c b/src/sim/w_x.c index 513072e..4f4c10e 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -585,10 +585,8 @@ InitNewView(SimView *view, char *title, int class, int w, int h) view->type = X_Mem_View; } - if ((ImageByteOrder(view->x->dpy) == MSBFirst) == !(*(unsigned char*) (&test))) - view->x->needs_swap = 0; - else - view->x->needs_swap = 1; + /* XXX: Find cases where transaltion is needed */ + view->x->needs_swap = 0; GetPixmaps(view->x);