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 92878a5c2e26b8a1bbebdc3d16a8135d077527a9..01fc20bd796918fdcfb9b14bcc9f7d4a4a11b804 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 */