From 58c351c4a2afa8377047c89ca55c367156fe36f9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 24 May 2020 23:23:27 +0200 Subject: [PATCH 1/1] Fix another lingering reconfigure bug; the previous fix was incomplete. --- nageru/pbo_frame_allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nageru/pbo_frame_allocator.cpp b/nageru/pbo_frame_allocator.cpp index d7cd818..37ce2a5 100644 --- a/nageru/pbo_frame_allocator.cpp +++ b/nageru/pbo_frame_allocator.cpp @@ -236,7 +236,7 @@ void PBOFrameAllocator::destroy_frame(Frame *frame) check_error(); glDeleteBuffers(1, &pbo); check_error(); - switch (pixel_format) { + switch (ud->pixel_format) { case bmusb::PixelFormat_10BitYCbCr: glDeleteTextures(2, ud->tex_v210); check_error(); -- 2.39.2