From: Brian Paul Date: Tue, 2 Nov 2010 17:53:14 +0000 (-0600) Subject: llvmpipe: add a cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2996ce72b142c774101f8df8bd6050d4755ccdcc;p=mesa.git llvmpipe: add a cast --- diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 1b3c32f040f..48971510f21 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -1062,7 +1062,7 @@ llvmpipe_bind_fs_state(struct pipe_context *pipe, void *fs) draw_flush(llvmpipe->draw); - llvmpipe->fs = fs; + llvmpipe->fs = (struct lp_fragment_shader *) fs; draw_bind_fragment_shader(llvmpipe->draw, (llvmpipe->fs ? llvmpipe->fs->draw_data : NULL));