From: Alex Deucher Date: Wed, 27 Oct 2010 18:30:50 +0000 (-0400) Subject: r600c: add missing radeon_prepare_render() call on evergreen X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ff7885e8ffc9ebe54ed45d28b68970d8b314f54;p=mesa.git r600c: add missing radeon_prepare_render() call on evergreen --- 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. */