mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-11 10:33:16 +01:00
Updated FAQ (markdown)
parent
f4ee3fce34
commit
593bd041aa
2
FAQ.md
2
FAQ.md
@ -44,4 +44,4 @@ func update(screen *ebiten.Image) error {
|
||||
|
||||
## Ebiten's screen is scaled (and blurred) on high-DPI screen. Can I disable this scaling? In other words, can I have a high-DPI mode?
|
||||
|
||||
You can pass `1 / ebiten.DeviceScaleFactor()` to `Run`'s scale argument so that you can get the screen without scaling by the device scale.
|
||||
You can pass `1 / ebiten.DeviceScaleFactor()` to `Run`'s scale argument so that you can get the screen without scaling by the device scale. For an actual example, see [examples/highdpi](https://github.com/hajimehoshi/ebiten/blob/master/examples/highdpi/main.go).
|
Loading…
Reference in New Issue
Block a user