mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 16:48:22 +02:00
llvmpipe: add a cast
This commit is contained in:
parent
9fbf744389
commit
2996ce72b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue