src/video/quartz/SDL_QuartzVideo.h
branchSDL-1.2
changeset 6157 8a1bc41db6bb
parent 6137 4720145f848b
child 7726 e9466ead70e5
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.h	Tue Jan 03 01:41:17 2012 -0500
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.h	Mon Jan 02 21:25:34 2012 -0800
     1.3 @@ -93,6 +93,7 @@
     1.4      const void         *save_mode;         /* original mode of the display */
     1.5      CGDirectPaletteRef palette;            /* palette of an 8-bit display */
     1.6      NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
     1.7 +    NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
     1.8      Uint32             width, height, bpp; /* frequently used data about the display */
     1.9      Uint32             flags;              /* flags for current mode, for teardown purposes */
    1.10      Uint32             video_set;          /* boolean; indicates if video was set correctly */
    1.11 @@ -132,6 +133,7 @@
    1.12  #define allow_screensaver (this->hidden->allow_screensaver)
    1.13  #define palette (this->hidden->palette)
    1.14  #define gl_context (this->hidden->gl_context)
    1.15 +#define nsgfx_context (this->hidden->nsgfx_context)
    1.16  #define device_width (this->hidden->width)
    1.17  #define device_height (this->hidden->height)
    1.18  #define device_bpp (this->hidden->bpp)