mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
nv30: fix inconsistent setting of push->user_priv
It's set to &nv30->bufctx everywhere else. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "9.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
588ec545ac
commit
85f7df81a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue