internal/uidriver/glfw: Remove an unused function

Updates #1844
This commit is contained in:
Hajime Hoshi 2021-10-09 21:11:37 +09:00
parent ae52dd4cf0
commit d4b5d17e75

View File

@ -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.