]> git.sesse.net Git - nageru/blobdiff - nageru/image_input.h
Change Futatabi frames to be cached as textures instead of in system memory.
[nageru] / nageru / image_input.h
index babf5f529316df31c7b1d2bd2cd4e7f44534b3e8..7b712ab13ec9920ac53fcf5a956fb349022b3ec0 100644 (file)
@@ -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<const Image> load_image(const std::string &filename, const std::string &pathname);