summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/dri/nouveau/nouveau_local.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-03-02 16:39:24 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-03-02 16:39:24 +1100
commita5966c8b28702bba1e4eb4bb4aec2247c90fcfa2 (patch)
treeac79ffa340866581e502bdeaa849a0fa7ec341cc /src/gallium/winsys/dri/nouveau/nouveau_local.h
parent578b5cd9a030189bcba5c3e86080e1e26eb6e108 (diff)
nouveau: silence some warnings
Diffstat (limited to 'src/gallium/winsys/dri/nouveau/nouveau_local.h')
-rw-r--r--src/gallium/winsys/dri/nouveau/nouveau_local.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nouveau_local.h b/src/gallium/winsys/dri/nouveau/nouveau_local.h
index f7d91fc748..8a52f26714 100644
--- a/src/gallium/winsys/dri/nouveau/nouveau_local.h
+++ b/src/gallium/winsys/dri/nouveau/nouveau_local.h
@@ -2,6 +2,7 @@
#define __NOUVEAU_LOCAL_H__
#include "pipe/p_compiler.h"
+#include "nouveau_winsys_pipe.h"
#include <stdio.h>
struct pipe_buffer;
@@ -76,8 +77,9 @@ static INLINE void
OUT_RELOC(struct nouveau_channel *chan, struct pipe_buffer *buf,
unsigned data, unsigned flags, unsigned vor, unsigned tor)
{
- nouveau_pipe_emit_reloc(chan, chan->pushbuf->cur++, buf,
- data, flags, vor, tor);
+ nouveau_pushbuf_emit_reloc(chan, chan->pushbuf->cur++,
+ nouveau_buffer(buf)->bo,
+ data, flags, vor, tor);
}
/* Raw data + flags depending on FB/TT buffer */