#pragma once #include "PACKED.h" #include "texture.h" #include "shader.h" #define RESOURCES_TEXTURES_FREE_INFO "Freed texture resources" struct Resources { GLuint shaders[SHADER_COUNT]; Texture atlas; std::map textures; }; void resources_init(Resources* self); void resources_texture_init(Resources* self, const std::string& path, s32 id); void resources_free(Resources* self); void resources_textures_free(Resources* self);