diff options
author | Vinson Lee <[email protected]> | 2010-12-25 19:09:54 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-12-25 19:09:54 -0800 |
commit | 8ca0aca8dd4075e7d8c692617584a940ebad2d42 (patch) | |
tree | bdf59c9c9140454809c7be9df447c6ac56c9e226 /src/gallium/drivers/nvfx | |
parent | 5f0f9f0486e9cf43939dfbd1051298f05da1eec4 (diff) |
nvfx: Remove unused variable.
Fixes this GCC warning.
nvfx_vbo.c: In function 'nvfx_idxbuf_emit':
nvfx_vbo.c:410: warning: unused variable 'eng3d'
Diffstat (limited to 'src/gallium/drivers/nvfx')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_vbo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c index b02e7b76344..1c88f5f016c 100644 --- a/src/gallium/drivers/nvfx/nvfx_vbo.c +++ b/src/gallium/drivers/nvfx/nvfx_vbo.c @@ -407,7 +407,6 @@ static void nvfx_idxbuf_emit(struct nvfx_context* nvfx, unsigned ib_flags) { struct nouveau_channel* chan = nvfx->screen->base.channel; - struct nouveau_grobj *eng3d = nvfx->screen->eng3d; unsigned ib_format = (nvfx->idxbuf.index_size == 2) ? NV30_3D_IDXBUF_FORMAT_TYPE_U16 : NV30_3D_IDXBUF_FORMAT_TYPE_U32; struct nouveau_bo* bo = nvfx_resource(nvfx->idxbuf.buffer)->bo; ib_flags |= nvfx->screen->index_buffer_reloc_flags | NOUVEAU_BO_RD; |