comparison src/video/SDL_sysvideo.h @ 47:45b1c4303f87

Added initial support for Quartz video (thanks Darrell!)
author Sam Lantinga <slouken@lokigames.com>
date Thu, 07 Jun 2001 14:28:11 +0000
parents 57bf11a5efd7
children b0ae59d0f3ee
comparison
equal deleted inserted replaced
46:3dcf26fa9d15 47:45b1c4303f87
61 #ifndef _STATUS 61 #ifndef _STATUS
62 #define _STATUS SDL_status *status 62 #define _STATUS SDL_status *status
63 #endif 63 #endif
64 struct SDL_VideoDevice { 64 struct SDL_VideoDevice {
65 /* * * */ 65 /* * * */
66 /* The name of this audio driver */ 66 /* The name of this video driver */
67 const char *name; 67 const char *name;
68 68
69 /* * * */ 69 /* * * */
70 /* Initialization/Query functions */ 70 /* Initialization/Query functions */
71 71
375 extern VideoBootStrap TOOLBOX_bootstrap; 375 extern VideoBootStrap TOOLBOX_bootstrap;
376 #endif 376 #endif
377 #ifdef ENABLE_DRAWSPROCKET 377 #ifdef ENABLE_DRAWSPROCKET
378 extern VideoBootStrap DSp_bootstrap; 378 extern VideoBootStrap DSp_bootstrap;
379 #endif 379 #endif
380 #ifdef ENABLE_QUARTZ
381 extern VideoBootStrap QZ_bootstrap;
382 #endif
380 #ifdef ENABLE_CYBERGRAPHICS 383 #ifdef ENABLE_CYBERGRAPHICS
381 extern VideoBootStrap CGX_bootstrap; 384 extern VideoBootStrap CGX_bootstrap;
382 #endif 385 #endif
383
384 /* This is the current video device */ 386 /* This is the current video device */
385 extern SDL_VideoDevice *current_video; 387 extern SDL_VideoDevice *current_video;
386 388
387 #define SDL_VideoSurface (current_video->screen) 389 #define SDL_VideoSurface (current_video->screen)
388 #define SDL_ShadowSurface (current_video->shadow) 390 #define SDL_ShadowSurface (current_video->shadow)