Function getGLSwapInterval

Wraps SDL_GL_GetSwapInterval which gets the currently-used swap interval method for OpenGL

GLSwapInterval getGLSwapInterval() @trusted;

Returns

the currently-used dsdl2.GLSwapInterval method

Throws

dsdl2.SDLException if unable to get the swap interval