nvc0: fix emission of first 3 u8 indices to RING_NI

This commit is contained in:
Christoph Bumiller 2011-01-08 00:20:53 +01:00
parent f5f086ca92
commit 64b639959f
1 changed files with 1 additions and 1 deletions

View File

@ -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;