summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-10-27 14:30:50 -0400
committerAlex Deucher <[email protected]>2010-10-27 14:30:50 -0400
commit8ff7885e8ffc9ebe54ed45d28b68970d8b314f54 (patch)
treec94db8f384debd574e3d3c4d51862ab1ee2676b8 /src/mesa/drivers/dri
parentb194b9b23801cd716244047b0b9b8bd9be518b78 (diff)
r600c: add missing radeon_prepare_render() call on evergreen
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r600/evergreen_render.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/evergreen_render.c b/src/mesa/drivers/dri/r600/evergreen_render.c
index 0c0eeca1fc5..6e51832c878 100644
--- a/src/mesa/drivers/dri/r600/evergreen_render.c
+++ b/src/mesa/drivers/dri/r600/evergreen_render.c
@@ -909,6 +909,10 @@ static void evergreenDrawPrims(struct gl_context *ctx,
{
GLboolean retval = GL_FALSE;
+ context_t *context = EVERGREEN_CONTEXT(ctx);
+ radeonContextPtr radeon = &context->radeon;
+ radeon_prepare_render(radeon);
+
/* This check should get folded into just the places that
* min/max index are really needed.
*/