mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
softpipe: fix warning
This commit is contained in:
parent
0000792a20
commit
f30285e99c
1 changed files with 1 additions and 2 deletions
|
|
@ -82,10 +82,9 @@ softpipe_bind_fs_state(struct pipe_context *pipe, void *fs)
|
|||
void
|
||||
softpipe_delete_fs_state(struct pipe_context *pipe, void *fs)
|
||||
{
|
||||
struct softpipe_context *softpipe = softpipe_context(pipe);
|
||||
struct sp_fragment_shader *state = fs;
|
||||
|
||||
assert(fs != softpipe->fs);
|
||||
assert(fs != softpipe_context(pipe)->fs);
|
||||
|
||||
state->delete( state );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue