Updated FAQ (markdown)

Hajime Hoshi 2018-01-04 03:36:24 +09:00
parent f4ee3fce34
commit 593bd041aa

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? ## 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).