summaryrefslogtreecommitdiff
path: root/nouveau/pushbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'nouveau/pushbuf.c')
-rw-r--r--nouveau/pushbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nouveau/pushbuf.c b/nouveau/pushbuf.c
index 0fd0c47a..4f77881b 100644
--- a/nouveau/pushbuf.c
+++ b/nouveau/pushbuf.c
@@ -739,7 +739,8 @@ void
nouveau_pushbuf_reloc(struct nouveau_pushbuf *push, struct nouveau_bo *bo,
uint32_t data, uint32_t flags, uint32_t vor, uint32_t tor)
{
- *push->cur++ = pushbuf_krel(push, bo, data, flags, vor, tor);
+ *push->cur = pushbuf_krel(push, bo, data, flags, vor, tor);
+ push->cur++;
}
int