X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.cpp;h=f64ea5ff519f0d6ce4ea3a0b0eab040a14c309aa;hb=3cafda5de945dd02d321634abd61aa1e261f2384;hp=e1106334be7fc7c209ae431f19260052e1444eee;hpb=5c560f35dea9f3aa5f13c42f4a0112a4d05f2152;p=nageru diff --git a/pbo_frame_allocator.cpp b/pbo_frame_allocator.cpp index e110633..f64ea5f 100644 --- a/pbo_frame_allocator.cpp +++ b/pbo_frame_allocator.cpp @@ -43,6 +43,7 @@ PBOFrameAllocator::PBOFrameAllocator(size_t frame_size, GLuint width, GLuint hei userdata[i].last_height[0] = height; userdata[i].last_width[1] = 0; userdata[i].last_height[1] = 0; + userdata[i].last_interlaced = false; for (unsigned field = 0; field < 2; ++field) { glBindTexture(GL_TEXTURE_2D, userdata[i].tex_y[field]); check_error();