From 05b0c5b2b693ba809b8334a892463ae34febb6c3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 22 Nov 2015 23:47:10 +0100 Subject: [PATCH] Remove an unused member variable. --- pbo_frame_allocator.cpp | 2 +- pbo_frame_allocator.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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) { diff --git a/pbo_frame_allocator.h b/pbo_frame_allocator.h index 5e6a519..321842b 100644 --- a/pbo_frame_allocator.h +++ b/pbo_frame_allocator.h @@ -35,8 +35,6 @@ public: }; private: - size_t frame_size; - std::mutex freelist_mutex; std::queue freelist; GLenum buffer; -- 2.39.2