} else {
fprintf(stderr,
"Cool, I found the shared memory extension!\n");
- xd->shared = 1;
+ fprintf(stderr,
+ "Disabled SHM, because it is currently broken!\n");
+ xd->shared = 0;
}
}
}
view->type = X_Mem_View;
}
+ view->x->big_endian = (ImageByteOrder(view->x->dpy) == MSBFirst);
+
GetPixmaps(view->x);
view->pixels = view->x->pixels;
view->pixel_bytes = 4;
//view->pixel_bytes = 3;
view->depth = 24;
- bitmap_depth = 32;
+ bitmap_depth = 24;
bitmap_pad = 32;
view->line_bytes8 =
((view->m_width * 4) + 3) & (~3);