diff options
| author | ewy <ewy0@protonmail.com> | 2026-08-13 12:36:25 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-08-13 12:36:25 +0200 |
| commit | f0557060160fa722799bb52784944ecf0751d5c9 (patch) | |
| tree | bd69bce9f6f4027be86a23a8de43eed9cab32e46 | |
| parent | aae0a1581c0dd028f53f28f2d8fe54b18dce813b (diff) | |
add quit logic :)main
| -rw-r--r-- | main.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ package main -func main() { +import ( + "github.com/Zyko0/go-sdl3/bin/binsdl" + "github.com/Zyko0/go-sdl3/sdl" +) +func main() { + defer binsdl.Load().Unload() + defer sdl.Quit() } |
