wayland: Check that wl_shm buffer stride is multiple of bytes per pixel
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.
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.