ebiten/internal/glfw
Hajime Hoshi 3c2d562967 internal/glfw: Bug fix: NewCallbackCDecl objects were leaked
Callbacks created by NewCallbackCDecl were never released and then
they are leaked, especially when the window size was changed by
SetWindowSize on Windows.

This change defines new callback ID types with uintptr, and reuse
the callbacks.

Closes #1672
2021-06-13 22:23:01 +09:00
..
glfw internal/glfw: Update GLFW to 3.3.3 for Windows 2021-03-09 02:19:34 +09:00
callback_notwindows.go internal/glfw: Bug fix: NewCallbackCDecl objects were leaked 2021-06-13 22:23:01 +09:00
callback_windows.go internal/glfw: Bug fix: NewCallbackCDecl objects were leaked 2021-06-13 22:23:01 +09:00
const.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
Dockerfile internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
gen.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
gen.sh internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
generate.go Bug fix: Compile error for Wasm 2020-10-07 02:23:45 +09:00
glfw_notwindows.go internal/glfw: Bug fix: NewCallbackCDecl objects were leaked 2021-06-13 22:23:01 +09:00
glfw_windows.go internal/glfw: Bug fix: NewCallbackCDecl objects were leaked 2021-06-13 22:23:01 +09:00
glfwdll_windows_386.go internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
glfwdll_windows_amd64.go internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
glfwdllhash_windows_386.go internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
glfwdllhash_windows_amd64.go internal/glfw: Update Dockerfile and regenerate DLLs 2021-04-17 20:11:10 +09:00
keys.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
load_windows.go glfw: Create a DLL file atomically by renaming the file 2020-11-02 22:55:08 +09:00
native_darwin.go ui: Replace the native window's type (unsafe.Pointer) with uintptr 2020-09-04 00:51:48 +09:00
native_windows.go ui: Replace the native window's type (unsafe.Pointer) with uintptr 2020-09-04 00:51:48 +09:00
tools.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
type.go internal/glfw: Bug fix: NewCallbackCDecl objects were leaked 2021-06-13 22:23:01 +09:00