r600c: add missing radeon_prepare_render() call on evergreen
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 27 Oct 2010 18:30:50 +0000 (14:30 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 27 Oct 2010 18:30:50 +0000 (14:30 -0400)
src/mesa/drivers/dri/r600/evergreen_render.c

index 0c0eeca1fc566da74a029ccd1e54fc1238c9dd17..6e51832c87825e23628bcacfabc46069599bdb93 100644 (file)
@@ -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.
         */