]> git.sesse.net Git - nageru/blobdiff - image_input.h
Fix so one can use images with other resolutions than 1280x720.
[nageru] / image_input.h
index 437d9c2db72ace8b45de8698d2f61c2147ce3786..df25a9ff5eb3a89a4196aac75354d16846c90bec 100644 (file)
@@ -25,6 +25,7 @@ public:
        
 private:
        struct Image {
+               unsigned width, height;
                std::unique_ptr<uint8_t[]> pixels;
                timespec last_modified;
        };