src/video/quartz/SDL_QuartzVideo.h
changeset 155 2d162219f433
parent 58 bd6b0a910a65
child 158 4382c38dfbee
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.h	Sat Aug 18 22:24:19 2001 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.h	Sun Aug 19 23:57:39 2001 +0000
     1.3 @@ -83,8 +83,9 @@
     1.4      CFArrayRef         mode_list;
     1.5      CGDirectPaletteRef palette;
     1.6      NSOpenGLContext    *gl_context;
     1.7 -    int                width, height, bpp;
     1.8 +    Uint32             width, height, bpp;
     1.9      Uint32             flags;
    1.10 +    SDL_bool           video_is_set; /* tell if the video mode was set */
    1.11      
    1.12      /* Window-only fields */
    1.13      NSWindow        *window;
    1.14 @@ -105,6 +106,7 @@
    1.15  #define device_height (this->hidden->height)
    1.16  #define device_bpp (this->hidden->bpp)
    1.17  #define mode_flags (this->hidden->flags)
    1.18 +#define video_set (this->hidden->video_is_set)
    1.19  #define window (this->hidden->window)
    1.20  #define windowView (this->hidden->view)
    1.21