From 64b639959ff95baf96be5ec835c6c1e490ff80b6 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 8 Jan 2011 00:20:53 +0100 Subject: nvc0: fix emission of first 3 u8 indices to RING_NI --- src/gallium/drivers/nvc0/nvc0_vbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/nvc0/nvc0_vbo.c b/src/gallium/drivers/nvc0/nvc0_vbo.c index 46f67c884aa..c6a88a75cf9 100644 --- a/src/gallium/drivers/nvc0/nvc0_vbo.c +++ b/src/gallium/drivers/nvc0/nvc0_vbo.c @@ -361,7 +361,7 @@ nvc0_draw_elements_inline_u08(struct nouveau_channel *chan, uint8_t *map, if (count & 3) { unsigned i; - BEGIN_RING(chan, RING_3D(VB_ELEMENT_U32), count & 3); + BEGIN_RING_NI(chan, RING_3D(VB_ELEMENT_U32), count & 3); for (i = 0; i < (count & 3); ++i) OUT_RING(chan, *map++); count &= ~3; -- cgit v1.2.3