Function Window.surfaceSize

Size of this Window's Surface, in pixels.

const(Size) surfaceSize() @property const;

This value may not necessarily match Window.size. For example, on mac OS machines with high-DPI Retina displays.

See Also

Framebuffer size in the GLFW documentation