diff options
| author | Arslaan Pathan <[email protected]> | 2026-05-03 08:13:19 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-05-03 08:13:19 +1200 |
| commit | 5ac74b20bfe5842edf404cafd7f82bc8cd1fcb0b (patch) | |
| tree | bc6ad50abb2eb8ba034152b9e0314b63c73adc4d /include | |
| parent | b1f6b4711cb5473adaa8123c8a3dd1cc954a8c31 (diff) | |
| download | saffron-5ac74b20bfe5842edf404cafd7f82bc8cd1fcb0b.tar.xz saffron-5ac74b20bfe5842edf404cafd7f82bc8cd1fcb0b.zip | |
Diffstat (limited to 'include')
| -rw-r--r-- | include/saffron_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/saffron_api.h b/include/saffron_api.h index 99b4988..5a8935e 100644 --- a/include/saffron_api.h +++ b/include/saffron_api.h @@ -47,4 +47,7 @@ void saffron_hook_sdl_all_events(SaffronWindow* window, bool (*callback)(SDL_Eve SDL_GLContext saffron_window_get_gl_context(SaffronWindow* window); +void saffron_window_detach_gl_context(SaffronWindow* window); +void saffron_window_reattach_gl_context(SaffronWindow* window); + #endif |
