From: Steinar H. Gunderson Date: Sun, 24 May 2020 21:23:27 +0000 (+0200) Subject: Fix another lingering reconfigure bug; the previous fix was incomplete. X-Git-Tag: 2.0.0~21 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=58c351c4a2afa8377047c89ca55c367156fe36f9 Fix another lingering reconfigure bug; the previous fix was incomplete. --- 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();