Function Display.desktopDisplayMode

Wraps SDL_GetDesktopDisplayMode which gets the desktop display mode of the display

DisplayMode desktopDisplayMode() @property @trusted const;

Returns

the desktop dsdl.DisplayMode

Throws

dsdl.SDLException if failed to get the desktop display mode