projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1071162
)
Fix type conflict.
author
Adam Jackson
<ajax@freedesktop.org>
Fri, 28 May 2004 16:50:42 +0000
(16:50 +0000)
committer
Adam Jackson
<ajax@freedesktop.org>
Fri, 28 May 2004 16:50:42 +0000
(16:50 +0000)
src/mesa/drivers/dri/i810/i810ioctl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i810/i810ioctl.c
b/src/mesa/drivers/dri/i810/i810ioctl.c
index 829ad04c7e546a31ddfea9df9f2c480ce7c35f23..1e49d1782e403ecd0771fdc8b517db464c95adb5 100644
(file)
--- 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);