diff options
author | Ilia Mirkin <[email protected]> | 2013-09-04 02:06:05 -0400 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-09-05 20:46:56 +0200 |
commit | 85f7df81a91b1825bf25adf3d4febcbb5e0a0d7e (patch) | |
tree | 9189568c84c5b99517178e3a86706a72545d311d /src/gallium/drivers | |
parent | 588ec545acc930470c605005292c8ef10adf4919 (diff) |
nv30: fix inconsistent setting of push->user_priv
It's set to &nv30->bufctx everywhere else.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "9.2" <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c index e872c027ae3..acef493afad 100644 --- a/src/gallium/drivers/nv30/nv30_context.c +++ b/src/gallium/drivers/nv30/nv30_context.c @@ -208,7 +208,7 @@ nv30_context_create(struct pipe_screen *pscreen, void *priv) /*XXX: *cough* per-context pushbufs */ push = screen->base.pushbuf; nv30->base.pushbuf = push; - nv30->base.pushbuf->user_priv = push->user_priv; /* hack at validate time */ + nv30->base.pushbuf->user_priv = &nv30->bufctx; /* hack at validate time */ nv30->base.pushbuf->rsvd_kick = 16; /* hack in screen before first space */ nv30->base.pushbuf->kick_notify = nv30_context_kick_notify; |