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 fb13e99 commit 34eaff6Copy full SHA for 34eaff6
glfw.go
@@ -282,5 +282,9 @@ func (m *windowManager) getPixelRatioLinux(window *glfw.Window) float64 {
282
if pixelRatio < 1.0 {
283
pixelRatio *= m.getPixelRatioOther(window)
284
}
285
+ // If it is still lower than 1, fallback to a pixelRatio of 1.0
286
+ if pixelRatio < 1.0 {
287
+ pixelRatio = 1.0
288
+ }
289
return pixelRatio
290
0 commit comments