X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fimage_input.h;h=7b712ab13ec9920ac53fcf5a956fb349022b3ec0;hb=adc0df09f7a9dc88a3c0dbad47a21a805e728862;hp=6ccdd128cdd15159f4806f2f98f87f60a0f3ba80;hpb=337e2d06624b4b46eb2e7e5365e2ece219f9f100;p=nageru diff --git a/nageru/image_input.h b/nageru/image_input.h index 6ccdd12..7b712ab 100644 --- a/nageru/image_input.h +++ b/nageru/image_input.h @@ -13,7 +13,7 @@ #include #include -#include "ref_counted_texture.h" +#include "shared/ref_counted_texture.h" #include "tweaked_inputs.h" class QSurface; @@ -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);