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.59 by cebix, 2001-07-11T17:04:41Z vs.
Revision 1.60 by cebix, 2001-07-11T19:26:14Z

# Line 184 | Line 184 | static void (*video_refresh)(void);
184  
185   // Prototypes
186   static void *redraw_func(void *arg);
187 static int event2keycode(XKeyEvent &ev);
187  
188   // From main_unix.cpp
189   extern char *x_display_name;
# Line 561 | Line 560 | void driver_base::restore_mouse_accel(vo
560  
561   // Open display
562   driver_window::driver_window(const video_mode &mode)
563 < : gc(0), img(NULL), have_shm(false), mouse_grabbed(false), mac_cursor(0)
563 > : gc(0), img(NULL), have_shm(false), mac_cursor(0), mouse_grabbed(false)
564   {
565          int width = mode.x, height = mode.y;
566          int aligned_width = (width + 15) & ~15;
# Line 2189 | Line 2188 | static void update_display_dynamic(int t
2188   static void update_display_static(driver_window *drv)
2189   {
2190          // Incremental update code
2191 <        int wide = 0, high = 0, x1, x2, y1, y2, i, j;
2191 >        unsigned wide = 0, high = 0, x1, x2, y1, y2, i, j;
2192          int bytes_per_row = VideoMonitor.mode.bytes_per_row;
2193          int bytes_per_pixel = VideoMonitor.mode.bytes_per_row / VideoMonitor.mode.x;
2194          uint8 *p, *p2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines