#ifndef WINDOW_H #define WINDOW_H #include #include typedef struct { SDL_Window* window; SDL_GLContext context; Uint32 Width, Height; const char* title; } Window; extern Window* window_new(const char* title, Uint32 width, Uint32 height); extern void window_resize(Window* window, Uint32 width, Uint32 height); extern void window_update(Window* window); extern void window_destroy(Window* window); #endif // WINDOW_H