i965: Use the glarray _ElementSize that Mesa tracks for us.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jan 2013 01:14:15 +0000 (17:14 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 25 Jan 2013 17:40:22 +0000 (09:40 -0800)
commit2a7a5062c9821bb986ed50e866c27ec26c4a41af
treee2ba7900e42bf9582d4a15d5fe3c4a23b46ba545
parentf6191e09aa8f678dd5fe3cd463d70e4a58e7b2a6
i965: Use the glarray _ElementSize that Mesa tracks for us.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c