From d4b5d17e75c522d3e43ef22c208ed6a2bedfae52 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 9 Oct 2021 21:11:37 +0900 Subject: [PATCH] internal/uidriver/glfw: Remove an unused function Updates #1844 --- internal/uidriver/glfw/ui_darwin.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/uidriver/glfw/ui_darwin.go b/internal/uidriver/glfw/ui_darwin.go index 56de5f4d6..4fdc3fe60 100644 --- a/internal/uidriver/glfw/ui_darwin.go +++ b/internal/uidriver/glfw/ui_darwin.go @@ -121,11 +121,6 @@ import ( // clearVideoModeScaleCache must be called from the main thread. 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. func (u *UserInterface) fromGLFWMonitorPixel(x float64, monitor *glfw.Monitor) float64 { // videoModeScale is always 1 on macOS.