From 7d4d5431748eab78b40e67c10888134745fe87c9 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 13 Jan 2008 20:28:18 +0100 Subject: [PATCH] disable image translation until a case is found where it is really needed --- src/sim/w_x.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); -- 2.39.2