Function getCurrentGLWindow

Wraps SDL_GL_GetCurrentWindow which gets the current target window for OpenGL

Window getCurrentGLWindow();

This function is marked as @system due to the potential of referencing invalid memory.

Returns

dsdl2.Window proxy to the target window for OpenGL

Throws

dsdl2.SDLException if unable to get the window