disable image translation until a case is found where it is really needed
authorMichael Gernoth <michael@gernoth.net>
Sun, 13 Jan 2008 19:28:18 +0000 (20:28 +0100)
committerMichael Gernoth <michael@gernoth.net>
Sun, 13 Jan 2008 19:28:18 +0000 (20:28 +0100)
src/sim/w_x.c

index 513072e..4f4c10e 100644 (file)
@@ -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);
Impressum, Datenschutz