X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fimage_input.h;h=1f6092e39618119e997bbbe970a45345e25a8070;hb=a0e57ec99e9dfdd7e79bcf21e8c996dc43b6cb49;hp=babf5f529316df31c7b1d2bd2cd4e7f44534b3e8;hpb=ee039e874b74ba8c9bfe37f88c29f4c37b7964f6;p=nageru diff --git a/nageru/image_input.h b/nageru/image_input.h index babf5f5..1f6092e 100644 --- a/nageru/image_input.h +++ b/nageru/image_input.h @@ -2,11 +2,9 @@ #define _IMAGE_INPUT_H 1 #include -#include #include #include #include -#include #include #include #include @@ -27,7 +25,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);