From 777c57563854ae78968c83829f1d0c6ef5d0a1f0 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 18 Sep 2023 18:30:40 +0900 Subject: [PATCH] internal/goglfw: typo Fortunately, this function is actually not called. --- internal/goglfw/api_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/goglfw/api_windows.go b/internal/goglfw/api_windows.go index d510add4a..c839f6579 100644 --- a/internal/goglfw/api_windows.go +++ b/internal/goglfw/api_windows.go @@ -805,7 +805,7 @@ var ( procSetCursorPos = user32.NewProc("SetCursorPos") procSetFocus = user32.NewProc("SetFocus") procSetForegroundWindow = user32.NewProc("SetForegroundWindow") - procSetLayeredWindowAttributes = user32.NewProc("procSetLayeredWindowAttributes") + procSetLayeredWindowAttributes = user32.NewProc("SetLayeredWindowAttributes") procSetProcessDPIAware = user32.NewProc("SetProcessDPIAware") procSetProcessDpiAwarenessContext = user32.NewProc("SetProcessDpiAwarenessContext") procSetWindowLongW = user32.NewProc("SetWindowLongW")