// NOTE: You will need to call start_update_thread() yourself, once per program.
struct Image {
unsigned width, height;
- RefCountedTexture tex;
+ UniqueTexture tex;
timespec last_modified;
};
static std::shared_ptr<const Image> load_image(const std::string &filename, const std::string &pathname);