diff options
author | Patrice Mandin <[email protected]> | 2010-02-05 19:42:33 +0100 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2010-02-05 19:42:33 +0100 |
commit | e423df0f0c3e5a5d33d301b6176e9380e61b98ad (patch) | |
tree | 6eae3c148bc1afcb2a5951e6212544f041f16014 /src/gallium/drivers/nv40/nv40_vbo.c | |
parent | da73c4d5fef6ad20d41de9a4e2d1d86b0b83fd8b (diff) |
nouveau: Fix warning for void function returning value. Add missing include for pipe_reference_init function.
Signed-off-by: Patrice Mandin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_vbo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vbo.c b/src/gallium/drivers/nv40/nv40_vbo.c index d1c76c03cdd..1e14edc56a7 100644 --- a/src/gallium/drivers/nv40/nv40_vbo.c +++ b/src/gallium/drivers/nv40/nv40_vbo.c @@ -382,7 +382,7 @@ nv40_draw_elements_inline(struct pipe_context *pipe, map = pipe_buffer_map(pscreen, ib, PIPE_BUFFER_USAGE_CPU_READ); if (!ib) { NOUVEAU_ERR("failed mapping ib\n"); - return FALSE; + return; } switch (ib_size) { @@ -424,7 +424,7 @@ nv40_draw_elements_vbo(struct pipe_context *pipe, FIRE_RING(chan); continue; } - + BEGIN_RING(chan, curie, NV40TCL_BEGIN_END, 1); OUT_RING (chan, nvgl_primitive(mode)); |