X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=nageru%2Fpbo_frame_allocator.cpp;h=37ce2a5a45463b026873df3453be8eceeb3ec14e;hb=58c351c4a2afa8377047c89ca55c367156fe36f9;hp=d7cd818d15d614ba96d1d049e9bb36afbdc01e36;hpb=5a34f92eb0bf5fe911cb6ca72a18ad03ce9898ac;p=nageru 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();