]> git.sesse.net Git - movit/blobdiff - input.h
Generate PBOs on-the-fly instead of having hard-coded numbers.
[movit] / input.h
diff --git a/input.h b/input.h
index dd80bb61ca6f82b3822300239d993aed6368231a..b3eb836a26a8f9d4e1754ddc3574e866763dce2a 100644 (file)
--- a/input.h
+++ b/input.h
@@ -46,7 +46,7 @@ public:
 private:
        ImageFormat image_format;
        GLenum format;
-       GLuint texture_num;
+       GLuint pbo, texture_num;
        bool needs_update;
        int use_srgb_texture_format, needs_mipmaps;
        unsigned width, height, bytes_per_pixel;