|
@@ -372,57 +372,24 @@ typedef struct VideoBootStrap
|
|
|
SDL_VideoDevice *(*create) (int devindex);
|
|
|
} VideoBootStrap;
|
|
|
|
|
|
-#if SDL_VIDEO_DRIVER_COCOA
|
|
|
+/* Not all of these are available in a given build. Use #ifdefs, etc. */
|
|
|
extern VideoBootStrap COCOA_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_X11
|
|
|
extern VideoBootStrap X11_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_MIR
|
|
|
extern VideoBootStrap MIR_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_DIRECTFB
|
|
|
extern VideoBootStrap DirectFB_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_WINDOWS
|
|
|
extern VideoBootStrap WINDOWS_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_WINRT
|
|
|
extern VideoBootStrap WINRT_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_HAIKU
|
|
|
extern VideoBootStrap HAIKU_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_PANDORA
|
|
|
extern VideoBootStrap PND_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_UIKIT
|
|
|
extern VideoBootStrap UIKIT_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_ANDROID
|
|
|
extern VideoBootStrap Android_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_PSP
|
|
|
extern VideoBootStrap PSP_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_RPI
|
|
|
extern VideoBootStrap RPI_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_DUMMY
|
|
|
extern VideoBootStrap DUMMY_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_WAYLAND
|
|
|
extern VideoBootStrap Wayland_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_NACL
|
|
|
extern VideoBootStrap NACL_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_VIVANTE
|
|
|
extern VideoBootStrap VIVANTE_bootstrap;
|
|
|
-#endif
|
|
|
-#if SDL_VIDEO_DRIVER_EMSCRIPTEN
|
|
|
extern VideoBootStrap Emscripten_bootstrap;
|
|
|
-#endif
|
|
|
|
|
|
extern SDL_VideoDevice *SDL_GetVideoDevice(void);
|
|
|
extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);
|