]> git.sesse.net Git - nageru/blobdiff - nageru/pbo_frame_allocator.cpp
Fix another lingering reconfigure bug; the previous fix was incomplete.
[nageru] / nageru / pbo_frame_allocator.cpp
index d7cd818d15d614ba96d1d049e9bb36afbdc01e36..37ce2a5a45463b026873df3453be8eceeb3ec14e 100644 (file)
@@ -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();