mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-10 15:50:33 +01:00
r300g: fix an invalid pointer in free
This commit is contained in:
parent
e897bf524b
commit
ecae1fca6f
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ static void r300_destroy_context(struct pipe_context* context)
|
|||
FREE(r300->ztop_state.state);
|
||||
FREE(r300->fs_constants.state);
|
||||
FREE(r300->vs_constants.state);
|
||||
if (r300->vertex_stream_state.state) {
|
||||
if (!r300->screen->caps.has_tcl) {
|
||||
FREE(r300->vertex_stream_state.state);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue