#ifndef IMAGE_H #define IMAGE_H #include "SDL_render.h" #include "aliases/aliases.h" #include "window.h" #include #include typedef struct { char path[PATH_MAX]; u64 length; } path_t; typedef struct { i64 width; i64 height; SDL_Texture *texture; path_t filepath; } image_t; bool load_image(const window_t *wnd, image_t *img, const char *path); #endif // !IMAGE_H