ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_x.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/video_x.cpp (file contents):
Revision 1.30 by cebix, 2000-11-03T18:27:55Z vs.
Revision 1.31 by cebix, 2000-11-30T16:09:03Z

# Line 518 | Line 518 | static bool init_window(int width, int h
518          // Set VideoMonitor
519          bool native_byte_order;
520   #ifdef WORDS_BIGENDIAN
521 <        native_byte_order = (img->bitmap_bit_order == MSBFirst);
521 >        native_byte_order = (XImageByteOrder(x_display) == MSBFirst);
522   #else
523 <        native_byte_order = (img->bitmap_bit_order == LSBFirst);
523 >        native_byte_order = (XImageByteOrder(x_display) == LSBFirst);
524   #endif
525   #ifdef ENABLE_VOSF
526          do_update_framebuffer = GET_FBCOPY_FUNC(depth, native_byte_order, DISPLAY_WINDOW);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines