drm: Set cliprects to NULL when changing drawable to having 0 cliprects.
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Fri, 17 Oct 2008 05:15:48 +0000 (13:15 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2008 03:42:26 +0000 (13:42 +1000)
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>

No differences found