i965: Pass in the glarray to get_surface_type.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jan 2013 02:08:37 +0000 (18:08 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 25 Jan 2013 17:41:04 +0000 (09:41 -0800)
commit1a316af0343b1c1b345d6209a687ce858b47c438
tree53e3ec835143627a8b9f29284895e876e2ac6746
parent80aeda2784bc1e31a2047a1959139fbc40abf5c8
i965: Pass in the glarray to get_surface_type.

Dereffing all the values in the two callers was just pointless, and
the function isn't inlined so there was actual code impact.

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