Skip to content

libweston: Handle planes of size 0 correctly.

Bas Nieuwenhuizen requested to merge bnieuwenhuizen/weston:offset-fix into master

With size 0, we can have offset == size.

Removed the stride check while I'm at it as the secondary planes might have height == 0.

(Also that check is so weak anyway, better hope the driver does the check correctly?)

Signed-off-by: Bas Nieuwenhuizen bas@basnieuwenhuizen.nl

Merge request reports

Loading