X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.h;h=aedae3b99cc89d5d8085c95694d73ea95a49d458;hb=a98732df9454028ddaa54a9d07b5d7513767bfe9;hp=1fb6a072a1ecfc112c99d1c0a4fc8d9aa10f61e9;hpb=5bc2d4de98e960f40a11cd2991a25ea7d1d5a143;p=nageru diff --git a/pbo_frame_allocator.h b/pbo_frame_allocator.h index 1fb6a07..aedae3b 100644 --- a/pbo_frame_allocator.h +++ b/pbo_frame_allocator.h @@ -2,6 +2,8 @@ #define _PBO_FRAME_ALLOCATOR 1 #include +#include +#include #include #include @@ -27,6 +29,7 @@ public: struct Userdata { GLuint pbo; GLuint tex_y, tex_cbcr; + GLuint last_width, last_height; }; private: