diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-03-12 10:14:09 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-03-12 10:14:09 +0000 |
commit | 203bd3e8ecf923bba3733b5ebe861c5700ffcb79 (patch) | |
tree | 2b68dba3fb7933f016a344860afd8743ebbc17d0 /src/mesa/drivers/dri/r300/r300_cmdbuf.c | |
parent | 91c219d9063bf7d3a181ee0b289c68b4a68f3db6 (diff) |
Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |