i915: Initialize Length and Offset fields when mapping a buffer object
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2009 07:14:49 +0000 (23:14 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Nov 2009 07:14:49 +0000 (23:14 -0800)
commitb12ca6b87b55e3359e81d5a3be380c860478e353
tree504d91f693fa83fc8fec1f4274292974a362e943
parentda0883114b1dceceff8a38deea1bb870fda40464
i915: Initialize Length and Offset fields when mapping a buffer object

This fixes an assertion failure in _mesa_MapBufferARB.

Fixes bugzilla #25253.
src/mesa/drivers/dri/intel/intel_buffer_objects.c