aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-11-02 11:53:14 -0600
committerBrian Paul <[email protected]>2010-11-02 11:53:14 -0600
commit2996ce72b142c774101f8df8bd6050d4755ccdcc (patch)
treef757373d5ee111dcf92cbc078b9d78cfed455849
parent9fbf744389cc13e96324086a1a94afbac933e6ea (diff)
llvmpipe: add a cast
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c2
1 files changed, 1 insertions, 1 deletions
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));