X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.cpp;h=e1106334be7fc7c209ae431f19260052e1444eee;hb=05b0c5b2b693ba809b8334a892463ae34febb6c3;hp=e6cce4e8f151dbbc42c1406fdc6ad4b8bae79411;hpb=b22d8d6b38d060ccc5dfa591712211caf9ca3968;p=nageru diff --git a/pbo_frame_allocator.cpp b/pbo_frame_allocator.cpp index e6cce4e..e110633 100644 --- a/pbo_frame_allocator.cpp +++ b/pbo_frame_allocator.cpp @@ -10,7 +10,7 @@ using namespace std; PBOFrameAllocator::PBOFrameAllocator(size_t frame_size, GLuint width, GLuint height, size_t num_queued_frames, GLenum buffer, GLenum permissions, GLenum map_bits) - : frame_size(frame_size), buffer(buffer) + : buffer(buffer) { userdata.reset(new Userdata[num_queued_frames]); for (size_t i = 0; i < num_queued_frames; ++i) {