aboutsummaryrefslogtreecommitdiff
path: root/include/saffron_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/saffron_api.h')
-rw-r--r--include/saffron_api.h3
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