Wraps SDL_GL_SetSwapInterval which gets the swap interval method for OpenGL
the dsdl2.GLSwapInterval method to use
dsdl2.SDLException if unable to set the swap interval
See Implementation
Wraps SDL_GL_SetSwapInterval which gets the swap interval method for OpenGL