} else if (p_surf->templat.chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) {
*height /= 2;
}
- if (p_surf->templat.interlaced)
- *height /= 2;
}
+ if (p_surf->templat.interlaced)
+ *height /= 2;
}
/**
pipe->clear_render_target(pipe, surfaces[i], &c, 0, 0,
surfaces[i]->width, surfaces[i]->height);
}
- pipe->flush(pipe, NULL);
+ pipe->flush(pipe, NULL, 0);
}