From 203bd3e8ecf923bba3733b5ebe861c5700ffcb79 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Sat, 12 Mar 2005 10:14:09 +0000 Subject: Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes. --- src/mesa/drivers/dri/r300/r300_cmdbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c') diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 3fe69c3b2e..df825ba3b4 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -601,7 +601,7 @@ void r300EmitBlit(r300ContextPtr rmesa, assert(h < (1 << 16)); cmd = - (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, 8 * sizeof(int), + (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, 8, __FUNCTION__); cmd[0].header.cmd_type = R300_CMD_PACKET3; @@ -631,7 +631,7 @@ void r300EmitWait(r300ContextPtr rmesa, GLuint flags) cmd = (drm_radeon_cmd_header_t *) r300AllocCmdBuf(rmesa, - 1 * sizeof(int), + 1, __FUNCTION__); cmd[0].i = 0; cmd[0].wait.cmd_type = R300_CMD_WAIT; -- cgit v1.2.3