summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/radeon_mm.c
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2006-07-27 22:51:14 +0000
committerJerome Glisse <[email protected]>2006-07-27 22:51:14 +0000
commit32d61d06164c6247bed0fbf301afd24ce5d3473e (patch)
tree3ca10bfe010c32e44752ba4ecc2268a1bdb22adc /src/mesa/drivers/dri/r300/radeon_mm.c
parenta7722cb794be008f930c5f071f66fc14b38af65a (diff)
r300_emit.h cleanup.
Remove unused macro Replace LOCAL_VAR, PREFIX* Indent code Remove radeon redundant CP type 3 packet
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_mm.c')
-rw-r--r--src/mesa/drivers/dri/r300/radeon_mm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_mm.c b/src/mesa/drivers/dri/r300/radeon_mm.c
index 2be3a1955ab..7595d2144f7 100644
--- a/src/mesa/drivers/dri/r300/radeon_mm.c
+++ b/src/mesa/drivers/dri/r300/radeon_mm.c
@@ -239,7 +239,9 @@ int radeon_mm_alloc(r300ContextPtr rmesa, int alignment, int size)
#include "r300_emit.h"
static void emit_lin_cp(r300ContextPtr rmesa, unsigned long dst, unsigned long src, unsigned long size)
{
- LOCAL_VARS
+ int cmd_reserved = 0;
+ int cmd_written = 0;
+ drm_radeon_cmd_header_t *cmd = NULL;
int cp_size;