mesa: access pixels as GLushort in unpack_SL8()
authorBrian Paul <brianp@vmware.com>
Mon, 28 Nov 2011 18:08:01 +0000 (11:08 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 30 Nov 2011 13:57:36 +0000 (06:57 -0700)
commit25c8a112abf4bbf271c6972f7539ca2a1c7683bd
tree1bf1438509498983e9ba1710939e9b82c0aaf160
parent2134d2f35baadf4117e48aa3315608403622b79a
mesa: access pixels as GLushort in unpack_SL8()

Per the format comments and the texstore code, use a GLushort to access the
pixel.  The code was OK as-is on little endian machines.
src/mesa/main/format_unpack.c