Function Window.drawableGLHeight

Wraps SDL_GL_GetDrawableSize (from SDL 2.0.1) which gets the drawable width of the window in OpenGL in pixels

uint drawableGLHeight() @property @trusted const;

Returns

width of the window in OpenGL in pixels