We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ef2e9 commit 17ae550Copy full SHA for 17ae550
glfw.go
@@ -278,7 +278,7 @@ func (m *windowManager) getPixelRatioLinux(window *glfw.Window) float64 {
278
dpi := m.pixelsPerScreenCoordinate * monitorScreenCoordinatesPerInch
279
pixelRatio := dpi / dpPerInch
280
281
- // If the pixelRatio is lower to 1 use this scale factor to downscale the ContentScale
+ // If the pixelRatio is lower than 1 use this pixelRatio factor to downscale the ContentScale
282
if pixelRatio < 1.0 {
283
pixelRatio *= m.getPixelRatioOther(window)
284
}
0 commit comments