extras: ci: update Android image and NDK (21)
[vlc.git] / contrib / src / sdl / direct_palette_ref.diff
blob9932b7e3f6a08ed1cf42221d63d07869561c9816
1 --- sdl/src/video/quartz/SDL_QuartzVideo.h.orig 2014-03-05 14:09:28.000000000 +0100
2 +++ sdl/src/video/quartz/SDL_QuartzVideo.h 2014-03-05 14:09:45.000000000 +0100
3 @@ -91,7 +91,9 @@
4 CGDirectDisplayID display; /* 0 == main display (only support single display) */
5 const void *mode; /* current mode of the display */
6 const void *save_mode; /* original mode of the display */
7 +#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070)
8 CGDirectPaletteRef palette; /* palette of an 8-bit display */
9 +#endif
10 NSOpenGLContext *gl_context; /* OpenGL rendering context */
11 NSGraphicsContext *nsgfx_context; /* Cocoa graphics context */
12 Uint32 width, height, bpp; /* frequently used data about the display */