src/video/quartz/SDL_QuartzVideo.h
branchSDL-1.2
changeset 7734 bbfb41c13a87
parent 7726 e9466ead70e5
equal deleted inserted replaced
7726:e9466ead70e5 7734:bbfb41c13a87
    89     BOOL               use_new_mode_apis;  /* 1 == >= 10.6 APIs available */
    89     BOOL               use_new_mode_apis;  /* 1 == >= 10.6 APIs available */
    90     BOOL               allow_screensaver;  /* 0 == disable screensaver */
    90     BOOL               allow_screensaver;  /* 0 == disable screensaver */
    91     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    91     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    92     const void         *mode;              /* current mode of the display */
    92     const void         *mode;              /* current mode of the display */
    93     const void         *save_mode;         /* original mode of the display */
    93     const void         *save_mode;         /* original mode of the display */
       
    94 #if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
       
    95     CGDirectPaletteRef palette;            /* palette of an 8-bit display */
       
    96 #endif
    94     NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
    97     NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
    95     NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
    98     NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
    96     Uint32             width, height, bpp; /* frequently used data about the display */
    99     Uint32             width, height, bpp; /* frequently used data about the display */
    97     Uint32             flags;              /* flags for current mode, for teardown purposes */
   100     Uint32             flags;              /* flags for current mode, for teardown purposes */
    98     Uint32             video_set;          /* boolean; indicates if video was set correctly */
   101     Uint32             video_set;          /* boolean; indicates if video was set correctly */