nv40: insanely stupid bug..

This commit is contained in:
Ben Skeggs 2007-12-11 19:06:00 +11:00
parent c23d0f4c50
commit e282d22d51

View file

@ -152,7 +152,7 @@ nv40_draw_elements(struct pipe_context *pipe,
BEGIN_RING(curie, NV40TCL_BEGIN_END, 1);
OUT_RING (0);
pipe->winsys->buffer_unmap(pipe->winsys, ib);
pipe->winsys->buffer_unmap(pipe->winsys, indexBuffer);
pipe->flush(pipe, 0);
return TRUE;
}