radeon: fix cut-n-paste typo
authorDave Airlie <airlied@redhat.com>
Sat, 7 Mar 2009 16:41:30 +0000 (02:41 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 7 Mar 2009 16:41:30 +0000 (02:41 +1000)
src/mesa/drivers/dri/radeon/radeon_dma.c

index 92878a5..01fc20b 100644 (file)
@@ -307,7 +307,7 @@ restart:
 
         if (!rmesa->dma.flush) {
                /* make sure we have enough space to use this in cmdbuf */
-               rcommonEnsureCmdBufSpace(&rmesa->radeon,
+               rcommonEnsureCmdBufSpace(rmesa,
                              rmesa->hw.max_state_size + (12*sizeof(int)),
                              __FUNCTION__);
                /* if cmdbuf flushed DMA restart */