summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-28 15:58:01 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-28 15:58:01 -0400
commitdbdb3952c16e13117891a3c52db4e05c472e96b8 (patch)
treeb667057523a81b4708bf66cfaba1c63a53438321 /src
parentb1f7c844a38418cbf3fbcef6c2fb0606a1dd6b7e (diff)
r600: don't call r700UpdateShaders twice for each render
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index ea8419d3d2..f2fec27eff 100644
--- a/src/mesa/drivers/dri/r600/r700_render.c
+++ b/src/mesa/drivers/dri/r600/r700_render.c
@@ -403,10 +403,6 @@ static GLboolean r700RunTCLRender(GLcontext * ctx, /*----------------------*/
return GL_TRUE;
}
- context_t *context = R700_CONTEXT(ctx);
-
- r700UpdateShaders(ctx);
-
bRet = r700RunRender(ctx, stage);
return bRet;