summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r700_ioctl.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-31 11:12:10 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-31 14:52:55 -0400
commit54a16419235d298e4b7c1761d6abe8066e6cf393 (patch)
tree54ecb25e13ef3e849c17d1bbbc28f2e1dc415b43 /src/mesa/drivers/dri/r600/r700_ioctl.c
parentbe1687a89271a58d7e4e6f613affa609589f5048 (diff)
r600: unify state emit into one function
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r600/r700_ioctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_ioctl.c b/src/mesa/drivers/dri/r600/r700_ioctl.c
index 259a1d1afa..23cc128d6d 100644
--- a/src/mesa/drivers/dri/r600/r700_ioctl.c
+++ b/src/mesa/drivers/dri/r600/r700_ioctl.c
@@ -43,7 +43,6 @@
static void r700Flush(GLcontext *ctx)
{
radeonContextPtr radeon = RADEON_CONTEXT(ctx);
- context_t * context = R700_CONTEXT(ctx);
if (RADEON_DEBUG & DEBUG_IOCTL)
fprintf(stderr, "%s %d\n", __FUNCTION__, radeon->cmdbuf.cs->cdw);
@@ -59,7 +58,7 @@ static void r700Flush(GLcontext *ctx)
if (radeon->dma.flush)
radeon->dma.flush( ctx );
- r700SendContextStates(context);
+ r700EmitState(ctx);
if (radeon->cmdbuf.cs->cdw)
rcommonFlushCmdBuf(radeon, __FUNCTION__);