Fix an error in _mesa_validate_DrawElements
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 30 Jul 2007 15:50:52 +0000 (23:50 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 30 Jul 2007 15:50:52 +0000 (23:50 +0800)
commit2394d20dafdfa308d494fc739c63c6a4e91c8185
tree0040597aff3011c724864e8a3cf8944971e6ae38
parent58f9f96c68ab1ebded00302713c1b4495cba7c2c
Fix an error in _mesa_validate_DrawElements

The field 'Data' in an obj is NULL in some dri drivers(such
as i965). Use mapped pointer instead.
src/mesa/main/api_validate.c