]> git.sesse.net Git - nageru/blobdiff - nageru/image_input.h
IWYU-fix nageru/*.h.
[nageru] / nageru / image_input.h
index babf5f529316df31c7b1d2bd2cd4e7f44534b3e8..1f6092e39618119e997bbbe970a45345e25a8070 100644 (file)
@@ -2,11 +2,9 @@
 #define _IMAGE_INPUT_H 1
 
 #include <epoxy/gl.h>
-#include <movit/flat_input.h>
 #include <stdbool.h>
 #include <time.h>
 #include <condition_variable>
-#include <cstdint>
 #include <map>
 #include <memory>
 #include <mutex>
@@ -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<const Image> load_image(const std::string &filename, const std::string &pathname);