diff options
| author | Arslaan Pathan <[email protected]> | 2026-05-02 22:11:23 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-05-02 22:11:23 +1200 |
| commit | b1f6b4711cb5473adaa8123c8a3dd1cc954a8c31 (patch) | |
| tree | f448a1c8c3a656e7b07ea9feaa0a6070f9f904ee /include/saffron_window.h | |
| parent | 5e43ce6764ed702bfb8fb9719051d42f1e841e34 (diff) | |
| download | saffron-b1f6b4711cb5473adaa8123c8a3dd1cc954a8c31.tar.xz saffron-b1f6b4711cb5473adaa8123c8a3dd1cc954a8c31.zip | |
GL context things
Diffstat (limited to 'include/saffron_window.h')
| -rw-r--r-- | include/saffron_window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/saffron_window.h b/include/saffron_window.h index 89bf684..1552814 100644 --- a/include/saffron_window.h +++ b/include/saffron_window.h @@ -2,6 +2,8 @@ #define SAFFRON_WINDOW_H #include <SDL3/SDL.h> +#include <SDL3/SDL_egl.h> +#include <SDL3/SDL_opengles2.h> #include "saffron_event_hooks.h" #include "saffron_widget.h" @@ -13,6 +15,7 @@ typedef struct { const char* title; SfInternalEventHook hooks[32]; int hook_count; + SDL_GLContext gl_context; } SaffronWindow; #endif |
