]> git.sesse.net Git - nageru/blobdiff - nageru/pbo_frame_allocator.h
Small refactoring in PBOAllocator::init_frame().
[nageru] / nageru / pbo_frame_allocator.h
index cff50aa6310036fe320f2f2021c9b445ec7e7a75..772d05e2ef257425a6a41d6e6f24918d8b44b239 100644 (file)
@@ -101,7 +101,7 @@ public:
        };
 
 private:
-       void init_frame(size_t frame_idx, size_t frame_size, GLuint width, GLuint height, GLenum permissions, GLenum map_bits, int generation);
+       static void init_frame(Frame &frame, Userdata *ud, PBOFrameAllocator *owner, bmusb::PixelFormat pixel_format, size_t frame_size, GLuint width, GLuint height, GLenum permissions, GLenum map_bits, GLenum buffer, int generation);
        void destroy_frame(Frame *frame);
 
        unsigned card_index;