summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-05-28 16:50:42 +0000
committerAdam Jackson <[email protected]>2004-05-28 16:50:42 +0000
commitcd630037a2ec50296f60f22a25ed101b7663324a (patch)
tree9d4bae3c6aab06f8aaeb00480b7adf51a4108bd5 /src/mesa/drivers
parent1071162b366d733ff2f46f6234d66e1db5282f32 (diff)
Fix type conflict.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i810/i810ioctl.c3
1 files changed, 2 insertions, 1 deletions
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);