]> cvs.zerfleddert.de Git - micropolis/commitdiff
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 513072e5a55aa5daa55d67ed96b28d55b2416388..4f4c10e1ea6cc697d141b78635c4048c881ba708 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