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

Comparing BasiliskII/src/Unix/video_vosf.h (file contents):
Revision 1.54 by gbeauche, 2005-06-25T11:40:29Z vs.
Revision 1.55 by gbeauche, 2005-11-21T23:38:46Z

# Line 35 | Line 35
35   #define MONITOR_INIT                    SDL_monitor_desc &monitor
36   #define VIDEO_DRV_WIN_INIT              driver_window *drv
37   #define VIDEO_DRV_DGA_INIT              driver_fullscreen *drv
38 < #define VIDEO_DRV_LOCK_PIXELS   if (SDL_MUSTLOCK(drv->s)) SDL_LockSurface(drv->s)
39 < #define VIDEO_DRV_UNLOCK_PIXELS if (SDL_MUSTLOCK(drv->s)) SDL_UnlockSurface(drv->s)
38 > #define VIDEO_DRV_LOCK_PIXELS   SDL_VIDEO_LOCK_SURFACE(drv->s)
39 > #define VIDEO_DRV_UNLOCK_PIXELS SDL_VIDEO_UNLOCK_SURFACE(drv->s)
40   #define VIDEO_DRV_DEPTH                 drv->s->format->BitsPerPixel
41   #define VIDEO_DRV_WIDTH                 drv->s->w
42   #define VIDEO_DRV_HEIGHT                drv->s->h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines