]> git.sesse.net Git - nageru/blobdiff - nageru/image_input.h
IWYU-fix nageru/*.h.
[nageru] / nageru / image_input.h
index 6ccdd128cdd15159f4806f2f98f87f60a0f3ba80..1f6092e39618119e997bbbe970a45345e25a8070 100644 (file)
@@ -2,18 +2,16 @@
 #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>
 #include <string>
 #include <thread>
 
-#include "ref_counted_texture.h"
+#include "shared/ref_counted_texture.h"
 #include "tweaked_inputs.h"
 
 class QSurface;
@@ -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);