mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 14:34:26 +01:00
devicescale: Rename logPixelSx -> logPixelsX
This commit is contained in:
parent
399317a2cf
commit
cf41e0aa0a
@ -23,7 +23,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
logPixelSx = 88
|
logPixelsX = 88
|
||||||
monitorDefaultToNearest = 2
|
monitorDefaultToNearest = 2
|
||||||
mdtEffectiveDpi = 0
|
mdtEffectiveDpi = 0
|
||||||
)
|
)
|
||||||
@ -150,7 +150,7 @@ func getFromLogPixelSx() float64 {
|
|||||||
|
|
||||||
// Note that GetDeviceCaps with LOGPIXELSX always returns a same value for any monitors
|
// Note that GetDeviceCaps with LOGPIXELSX always returns a same value for any monitors
|
||||||
// even if multiple monitors are used.
|
// even if multiple monitors are used.
|
||||||
dpi, err := getDeviceCaps(dc, logPixelSx)
|
dpi, err := getDeviceCaps(dc, logPixelsX)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user