SDL_GetNumVideoDrivers
Get the number of video drivers compiled into SDL.
- Provided by: libsdl3-doc (Version: 3.2.20+ds-2)
- Source: libsdl3
- Report a bug
Get the number of video drivers compiled into SDL.
#include <SDL3/SDL_video.h>
int SDL_GetNumVideoDrivers(void);
Returns the number of built in video drivers.
This function should only be called on the main thread.
This function is available since SDL 3.2.0.