getCurrentGLWindow

Wraps SDL_GL_GetCurrentWindow which gets the current target window for OpenGL

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

@safe @system
getCurrentGLWindow
()

Return Value

Type: Window

dsdl2.Window proxy to the target window for OpenGL

Throws

dsdl2.SDLException if unable to get the window

Meta