SDL_GetPrimaryDisplay

Return the primary display.

extern (C) nothrow @nogc extern
SDL_GetPrimaryDisplay
()

Return Value

the instance ID of the primary display on success or 0 on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta