diff options
author | Dave Airlie <airlied@linux.ie> | 2007-08-09 09:41:32 +1000 |
---|---|---|
committer | Kyle McMartin <kyle@phobos.i.cabal.ca> | 2007-08-14 01:23:54 -0400 |
commit | ba59c2794b89cbd85a1fe743d4f8661edf08c03f (patch) | |
tree | fe6629201661ffaf0e40664c404fa7a22dda418b | |
parent | 24708b9d3f99513c287df14859a7e34affd67fe1 (diff) |
i965: fix memcpy of the sf_kernel when a mask is needed
(cherry picked from commit 14691b24da5aa29d8c41ac7b7c61828e3cd9eab7)
-rw-r--r-- | src/i965_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index c528813f..018208a4 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -793,7 +793,8 @@ i965_prepare_composite(int op, PicturePtr pSrcPicture, * back to SF which then hands pixels off to WM. */ if (pMask) - memcpy(sf_kernel, sf_kernel_static_mask, sizeof (sf_kernel_static)); + memcpy(sf_kernel, sf_kernel_static_mask, + sizeof (sf_kernel_static_mask)); else if (rotation_program) memcpy(sf_kernel, sf_kernel_static_rotation, sizeof (sf_kernel_static_rotation)); |