mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
cso: don't forget to release vertex elements state
This commit is contained in:
parent
bf50d40f1b
commit
0d6b0b0d9d
1 changed files with 1 additions and 0 deletions
|
|
@ -289,6 +289,7 @@ void cso_release_all( struct cso_context *ctx )
|
|||
ctx->pipe->bind_depth_stencil_alpha_state( ctx->pipe, NULL );
|
||||
ctx->pipe->bind_fs_state( ctx->pipe, NULL );
|
||||
ctx->pipe->bind_vs_state( ctx->pipe, NULL );
|
||||
ctx->pipe->bind_vertex_elements_state( ctx->pipe, NULL );
|
||||
}
|
||||
|
||||
for (i = 0; i < PIPE_MAX_SAMPLERS; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue