diff options
author | Dave Airlie <airlied@nx6125b.(none)> | 2007-06-21 14:43:53 +1000 |
---|---|---|
committer | Dave Airlie <airlied@nx6125b.(none)> | 2007-06-21 14:43:53 +1000 |
commit | d3ef71166d032d1f77f0d83eaca76fbf612ac79c (patch) | |
tree | ca17c067f60bd6e8a468d2d0ff0e4c7ef2bd6e5b | |
parent | d1be4ab80fc266ba6792ef1151d4bdf804cff92a (diff) |
ensure cmd buffer space
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_swtcl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_swtcl.c b/src/mesa/drivers/dri/r300/r300_swtcl.c index ab85be37f03..dfa02f95232 100644 --- a/src/mesa/drivers/dri/r300/r300_swtcl.c +++ b/src/mesa/drivers/dri/r300/r300_swtcl.c @@ -384,6 +384,7 @@ static void flush_last_swtcl_prim( r300ContextPtr rmesa ) if (rmesa->dma.current.start != rmesa->dma.current.ptr) { + r300EnsureCmdBufSpace( rmesa, rmesa->hw.max_state_size + (8*sizeof(int)), __FUNCTION__); r300EmitVertexAOS( rmesa, rmesa->swtcl.vertex_size, current_offset); |