mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
cso_cache: Fix test for currently bound blend state.
This commit is contained in:
parent
deceeca18d
commit
1dfb3d4729
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ static boolean delete_blend_state(struct cso_context *ctx, void *state)
|
|||
{
|
||||
struct cso_blend *cso = (struct cso_blend *)state;
|
||||
|
||||
if (ctx->blend == state)
|
||||
if (ctx->blend == cso->data)
|
||||
return FALSE;
|
||||
|
||||
if (cso->delete_state)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue