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

Comparing BasiliskII/src/SDL/video_sdl.cpp (file contents):
Revision 1.45 by asvitkine, 2012-01-04T22:52:05Z vs.
Revision 1.46 by asvitkine, 2012-01-14T15:45:18Z

# Line 622 | Line 622 | public:
622   };
623  
624   class driver_window;
625 + #ifdef ENABLE_VOSF
626   static void update_display_window_vosf(driver_window *drv);
627 < static void update_display_dynamic(int ticker, driver_window *drv);
627 > #endif
628   static void update_display_static(driver_base *drv);
629  
630   class driver_window : public driver_base {
631 + #ifdef ENABLE_VOSF
632          friend void update_display_window_vosf(driver_window *drv);
633 <        friend void update_display_dynamic(int ticker, driver_window *drv);
633 > #endif
634          friend void update_display_static(driver_base *drv);
635  
636   public:
# Line 737 | Line 739 | driver_window::driver_window(SDL_monitor
739          : driver_base(m), mouse_grabbed(false)
740   {
741          int width = VIDEO_MODE_X, height = VIDEO_MODE_Y;
740        int aligned_width = (width + 15) & ~15;
742          int aligned_height = (height + 15) & ~15;
743  
744          // Set absolute mouse mode
# Line 891 | Line 892 | driver_fullscreen::driver_fullscreen(SDL
892          : driver_base(m)
893   {
894          int width = VIDEO_MODE_X, height = VIDEO_MODE_Y;
894        int aligned_width = (width + 15) & ~15;
895          int aligned_height = (height + 15) & ~15;
896  
897          // Set absolute mouse mode
# Line 1061 | Line 1061 | static void keycode_init(void)
1061   bool SDL_monitor_desc::video_open(void)
1062   {
1063          D(bug("video_open()\n"));
1064        const VIDEO_MODE &mode = get_current_mode();
1064   #if DEBUG
1065 +        const VIDEO_MODE &mode = get_current_mode();
1066          D(bug("Current video mode:\n"));
1067          D(bug(" %dx%d (ID %02x), %d bpp\n", VIDEO_MODE_X, VIDEO_MODE_Y, VIDEO_MODE_RESOLUTION, 1 << (VIDEO_MODE_DEPTH & 0x0f)));
1068   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines