X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_input.cpp;h=8d58c7de8ab10c6d09adf68fa0bc8ef467f8be51;hp=268abcb35059cc722ea7fc1f3495a9aebda0ad02;hb=0490917aca6b8e6057c04c8becc820a8e849a801;hpb=0de0202b22a6349d0f9c838947a96eef8155ac90 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();