X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_input.cpp;h=8d58c7de8ab10c6d09adf68fa0bc8ef467f8be51;hp=268abcb35059cc722ea7fc1f3495a9aebda0ad02;hb=af39090a8902411ffc0c89f296a0f8bde9229f60;hpb=02dd3a9d0eac3d760dd09cf3690d0c1b92155cf1;ds=sidebyside diff --git a/ycbcr_input.cpp b/ycbcr_input.cpp index 268abcb..8d58c7d 100644 --- a/ycbcr_input.cpp +++ b/ycbcr_input.cpp @@ -49,6 +49,9 @@ YCbCrInput::~YCbCrInput() void YCbCrInput::finalize() { + glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + check_error(); + // Create PBOs to hold the textures holding the input image, and then the texture itself. glGenBuffers(3, pbos); check_error();