ebiten/internal/goglfw
TotallyGamerJet 93537650c0
internal/goglfw: use platform agnostic functions for context_windows.go (#2570)
context_windows.go is used for all the platforms. However, it used syscall.Syscall which behaves differently on macOS
and Windows as well as windows.BytePtrToString which isn't available on Linux or macOS.

This commit replaces syscall.Syscall with purego.SyscallN and windows.BytePtrToString with a copied version called
bytePtrToString.

Updates #2546
2023-02-10 02:35:17 +09:00
..
api_windows.go all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
context_windows.go internal/goglfw: use platform agnostic functions for context_windows.go (#2570) 2023-02-10 02:35:17 +09:00
glfw3h_windows.go rename internal/glfwwin -> internal/goglfw 2023-01-21 22:09:21 +09:00
init_windows.go rename internal/glfwwin -> internal/goglfw 2023-01-21 22:09:21 +09:00
input_windows.go rename internal/glfwwin -> internal/goglfw 2023-01-21 22:09:21 +09:00
internal_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
monitor_windows.go rename internal/glfwwin -> internal/goglfw 2023-01-21 22:09:21 +09:00
wglcontext_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
win32init_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
win32monitor_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
win32platform_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
win32thread_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
win32window_windows.go internal/goglfw: separate windows specific struct from common structs (#2567) 2023-02-08 03:05:46 +09:00
window_windows.go rename internal/glfwwin -> internal/goglfw 2023-01-21 22:09:21 +09:00