llvmpipe: add a cast

This commit is contained in:
Brian Paul
2010-11-02 11:53:14 -06:00
parent 9fbf744389
commit 2996ce72b1
+1 -1
View File
@@ -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));