Fix the warning.

The const is there to enforce the immutable state of the object,
which is in reality owned by the pipe so just cast away the
constness.
This commit is contained in:
Zack Rusin 2007-09-17 09:50:08 -04:00
parent f117327a3f
commit 56edb98d97
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void softpipe_bind_blend_state( struct pipe_context *pipe,
void softpipe_delete_blend_state(struct pipe_context *pipe,
const struct pipe_blend_state *blend )
{
free(blend);
free((struct pipe_blend_state *)blend);
}