summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_swtcl.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-01-22 22:49:16 +1000
committerDave Airlie <airlied@linux.ie>2009-01-22 22:50:36 +1000
commitf69e2f42d53337702ce52173a58a49e53bfdee56 (patch)
tree68547c3ab8b5e5a4cd7e5717b2a783b2c8eb538e /src/mesa/drivers/dri/r200/r200_swtcl.c
parentd93dc4338279c03b8fa2b0adec01dedae4fe4895 (diff)
downloadexternal_mesa3d-f69e2f42d53337702ce52173a58a49e53bfdee56.zip
external_mesa3d-f69e2f42d53337702ce52173a58a49e53bfdee56.tar.gz
external_mesa3d-f69e2f42d53337702ce52173a58a49e53bfdee56.tar.bz2
r200: fix up swtcl/tcl flushes
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_swtcl.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 7275886..663e4ae 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -210,10 +210,6 @@ static void r200RenderStart( GLcontext *ctx )
r200ContextPtr rmesa = R200_CONTEXT( ctx );
r200SetVertexFormat( ctx );
-
- if (rmesa->dma.flush != 0 &&
- rmesa->dma.flush != flush_last_swtcl_prim)
- rmesa->dma.flush( ctx );
}
@@ -283,7 +279,7 @@ static void flush_last_swtcl_prim(GLcontext *ctx)
if (R200_DEBUG & DEBUG_IOCTL)
fprintf(stderr, "%s\n", __FUNCTION__);
- rmesa->dma.flush = NULL;
+ rmesa->swtcl.flush = NULL;
radeon_bo_unmap(rmesa->swtcl.bo);
rcommonEnsureCmdBufSpace(rmesa,