diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-03-02 16:39:24 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-03-02 16:39:24 +1100 |
commit | a5966c8b28702bba1e4eb4bb4aec2247c90fcfa2 (patch) | |
tree | ac79ffa340866581e502bdeaa849a0fa7ec341cc /src/gallium/winsys/dri/nouveau/nouveau_local.h | |
parent | 578b5cd9a030189bcba5c3e86080e1e26eb6e108 (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.h | 6 |
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 */ |