Initialize bufmgr_gem->validate_array[i].offset.

This is just cosmetic, to produce less scary values when the ioctl fails and
doesn't return values there.
This commit is contained in:
Eric Anholt 2008-05-05 13:45:03 -07:00
parent 1f810b85b1
commit 5290ec4756

View file

@ -228,6 +228,7 @@ intel_add_validate_buffer(dri_bo *bo)
bufmgr_gem->validate_array[index].relocation_count = bo_gem->reloc_count;
bufmgr_gem->validate_array[index].relocs_ptr = (uintptr_t)bo_gem->relocs;
bufmgr_gem->validate_array[index].alignment = 0;
bufmgr_gem->validate_array[index].buffer_offset = 0;
bufmgr_gem->validate_bo[index] = bo;
dri_bo_reference(bo);
bufmgr_gem->validate_count++;