ebiten/internal/atlas
Hajime Hoshi 9a8dde6503 internal/atlas: bug fix: a finalizer was never called
As the finalizer function had a reference to the target image, the
image's reference count never became 0. Then, the image was never
finalized.

This change fixes this issue by using a member function pointer instead
of an anonymous function.

Closes #2897
2024-01-29 20:39:44 +09:00
..
export_test.go internal/atlas: bug fix: a finalizer was never called 2024-01-29 20:39:44 +09:00
func.go internal/atlas: refactoring: ensure ReadPixels to be processed in a frame 2023-10-25 00:48:09 +09:00
image_test.go internal/atlas: bug fix: a finalizer was never called 2024-01-29 20:39:44 +09:00
image.go internal/atlas: bug fix: a finalizer was never called 2024-01-29 20:39:44 +09:00
set.go internal/atlas: bug fix: copy the image slice before iterating it 2023-08-23 16:41:34 +09:00
shader_test.go internal/graphicsdriver: reland: add FillRule and replace boolean values with this 2023-11-04 19:09:50 +09:00
shader.go internal/restorable: integrate the implementation into internal/atlas 2024-01-13 19:59:57 +09:00