summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_object.c
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-12-03 02:01:49 +0000
committerBen Skeggs <darktama@iinet.net.au>2006-12-03 02:01:49 +0000
commitb4dcb99cbc21ad1dafa12e31086f9e0d5fc05e81 (patch)
tree2896abe9ca091f8553bdfddecd11ca193d981d45 /src/mesa/drivers/dri/nouveau/nouveau_object.c
parent98818f159baeaeba45d656d612b64b2f22c63753 (diff)
Fix a copy+paste'o that caused some *very* strange bugs..
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_object.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_object.c b/src/mesa/drivers/dri/nouveau/nouveau_object.c
index cd46feff7c..032cdee2f7 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_object.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_object.c
@@ -33,7 +33,7 @@ static GLboolean nouveauCreateDmaObject(nouveauContextPtr nmesa,
dma.target = target;
dma.access = access;
dma.offset = offset;
- dma.handle = handle;
+ dma.size = size;
ret = drmCommandWriteRead(nmesa->driFd, DRM_NOUVEAU_DMA_OBJECT_INIT,
&dma, sizeof(dma));
return ret == 0;