diff options
author | Dave Airlie <airlied@linux.ie> | 2007-08-09 09:41:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-08-09 09:41:32 +1000 |
commit | 14691b24da5aa29d8c41ac7b7c61828e3cd9eab7 (patch) | |
tree | 5fdb205f906092c8d909fafeedf9381a50826fd4 /src | |
parent | 5e18c6af9051da654d2a6a97553ef4fe777bb61e (diff) |
i965: fix memcpy of the sf_kernel when a mask is needed
Diffstat (limited to 'src')
-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)); |