Commit cf7dce5c authored by Niklas Haas's avatar Niklas Haas
Browse files

renderer: correctly shift target overlays

This handles the case of drawing overlays correctly to e.g. subsampled
YCbCr output.
parent 72741a9f
......@@ -1929,6 +1929,7 @@ fallback:
struct pl_transform2x2 tscale = {
.mat = {{{ rrx, 0.0 }, { 0.0, rry }}},
.c = { -sx, -sy },
};
draw_overlays(pass, plane->texture, plane->components,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment