commit | 863842736fb4571b22e0f7f4696bf13eeec57166 | [log] [tgz] |
---|---|---|
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | Fri Oct 17 13:15:48 2008 +0800 |
committer | Dave Airlie <airlied@redhat.com> | Thu Oct 23 13:42:26 2008 +1000 |
tree | 4a3403a8e0577f7dc562f8e2bf7b4071fc0c6be4 | |
parent | e9d21d7f5ae1e625f3687d88bb50b00478c533ad [diff] |
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: Zhenyu Wang <zhenyu.z.wang@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>