Skip to content

Commit 17ae550

Browse files
committed
Update glfw.go
1 parent b0ef2e9 commit 17ae550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glfw.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (m *windowManager) getPixelRatioLinux(window *glfw.Window) float64 {
278278
dpi := m.pixelsPerScreenCoordinate * monitorScreenCoordinatesPerInch
279279
pixelRatio := dpi / dpPerInch
280280

281-
// If the pixelRatio is lower to 1 use this scale factor to downscale the ContentScale
281+
// If the pixelRatio is lower than 1 use this pixelRatio factor to downscale the ContentScale
282282
if pixelRatio < 1.0 {
283283
pixelRatio *= m.getPixelRatioOther(window)
284284
}

0 commit comments

Comments
 (0)