Ensure, that the resulting surface size is at least 1x1, even when destination size is not set and source size is zero. Previously this lead to zero surface size. This can still happen due to wl_viewport.set(#, #, 0, 0, #, #) followed by wl_viewport.set_destination(-1, -1). Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>dev
parent
2c8b5f534b
commit
e931721aa1
Loading…
Reference in new issue