From cd630037a2ec50296f60f22a25ed101b7663324a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 28 May 2004 16:50:42 +0000 Subject: Fix type conflict. --- src/mesa/drivers/dri/i810/i810ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i810/i810ioctl.c') diff --git a/src/mesa/drivers/dri/i810/i810ioctl.c b/src/mesa/drivers/dri/i810/i810ioctl.c index 829ad04c7e5..1e49d1782e4 100644 --- a/src/mesa/drivers/dri/i810/i810ioctl.c +++ b/src/mesa/drivers/dri/i810/i810ioctl.c @@ -204,7 +204,8 @@ void i810PageFlip( const __DRIdrawablePrivate *dPriv ) LOCK_HARDWARE( imesa ); if (dPriv->pClipRects) { - imesa->sarea->boxes[0] = dPriv->pClipRects[0]; + memcpy(&(imesa->sarea->boxes[0]), &(dPriv->pClipRects[0]), + sizeof(drm_clip_rect_t)); imesa->sarea->nbox = 1; } ret = drmCommandNone(imesa->driFd, DRM_I810_FLIP); -- cgit v1.2.3