Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 86384273 authored by Zhenyu Wang's avatar Zhenyu Wang Committed by Dave Airlie
Browse files

drm: Set cliprects to NULL when changing drawable to having 0 cliprects.



This avoids setting the cliprects pointer to a zero-sized allocation.

Signed-off-by: default avatarZhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e9d21d7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment