diff options
author | Christoph Bumiller <[email protected]> | 2011-07-07 14:58:29 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-07-07 15:00:12 +0200 |
commit | 3069a7eaa5d83e7f41616347ba244c0dc0d944ae (patch) | |
tree | 3de61a1dcd02840d5eefe03009592474c445f9ab /src/gallium/drivers/nv50/nv50_state_validate.c | |
parent | e54354e8853c3521e71e5b94984722f18b7638e4 (diff) |
nv50,nvc0: use screen instead of context for flush notifier
Context may become NULL and we still have to be able to flush
pending fences.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state_validate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index 11561f5a8e6..d29c1e9723f 100644 --- a/src/gallium/drivers/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nv50/nv50_state_validate.c @@ -282,8 +282,7 @@ nv50_switch_pipe_context(struct nv50_context *ctx_to) if (!ctx_to->zsa) ctx_to->dirty &= ~NV50_NEW_ZSA; - ctx_to->screen->base.channel->user_private = ctx_to->screen->cur_ctx = - ctx_to; + ctx_to->screen->cur_ctx = ctx_to; } static struct state_validate { |