mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
ae52dd4cf0
commit
d4b5d17e75
@ -121,11 +121,6 @@ import (
|
|||||||
// clearVideoModeScaleCache must be called from the main thread.
|
// clearVideoModeScaleCache must be called from the main thread.
|
||||||
func clearVideoModeScaleCache() {}
|
func clearVideoModeScaleCache() {}
|
||||||
|
|
||||||
// videoModeScale must be called from the main thread.
|
|
||||||
func videoModeScale(m *glfw.Monitor) float64 {
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
// fromGLFWMonitorPixel must be called from the main thread.
|
// fromGLFWMonitorPixel must be called from the main thread.
|
||||||
func (u *UserInterface) fromGLFWMonitorPixel(x float64, monitor *glfw.Monitor) float64 {
|
func (u *UserInterface) fromGLFWMonitorPixel(x float64, monitor *glfw.Monitor) float64 {
|
||||||
// videoModeScale is always 1 on macOS.
|
// videoModeScale is always 1 on macOS.
|
||||||
|
Loading…
Reference in New Issue
Block a user