Skip to content

wayland: Check that wl_shm buffer stride is multiple of bytes per pixel

Vlad Zahorodnii requested to merge work/zzag/shm-sanitize-stride into master

This is needed to ensure that the values passed to GL_UNPACK_ROW_LENGTH are reasonable. It's not described in the spec but wlroots already does the same.

Merge request reports