Browse Source

cso_cache: Fix test for currently bound blend state.

tags/mesa_20090313
Michel Dänzer 18 years ago
parent
commit
1dfb3d4729
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/auxiliary/cso_cache/cso_context.c

+ 1
- 1
src/gallium/auxiliary/cso_cache/cso_context.c View File

@@ -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…
Cancel
Save