ui: Bug fix: scale for cursor was wrong (#166)

This commit is contained in:
Hajime Hoshi 2016-02-27 17:04:35 +09:00
parent 997539b243
commit 05eaec6dd9

View File

@ -146,7 +146,7 @@ func (u *userInterface) actualScale() int {
func (u *userInterface) pollEvents() error { func (u *userInterface) pollEvents() error {
glfw.PollEvents() glfw.PollEvents()
return updateInput(u.window, u.scale) return updateInput(u.window, u.windowScale())
} }
func (u *userInterface) doEvents() error { func (u *userInterface) doEvents() error {