X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fimage_input.h;h=7b712ab13ec9920ac53fcf5a956fb349022b3ec0;hb=adc0df09f7a9dc88a3c0dbad47a21a805e728862;hp=babf5f529316df31c7b1d2bd2cd4e7f44534b3e8;hpb=02ea864dc5a6dde7450c497581ff18d784ab832c;p=nageru diff --git a/nageru/image_input.h b/nageru/image_input.h index babf5f5..7b712ab 100644 --- a/nageru/image_input.h +++ b/nageru/image_input.h @@ -27,7 +27,7 @@ public: // 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 load_image(const std::string &filename, const std::string &pathname);