Fix a copy+paste'o that caused some *very* strange bugs..
authorBen Skeggs <darktama@iinet.net.au>
Sun, 3 Dec 2006 02:01:49 +0000 (02:01 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Sun, 3 Dec 2006 02:01:49 +0000 (02:01 +0000)
src/mesa/drivers/dri/nouveau/nouveau_object.c

index cd46feff7cfab5affd81ef6ea3e7b8fd53831837..032cdee2f79d8b550a89c887407121a87a4fe405 100644 (file)
@@ -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;