mesa: use sizeof on the correct type
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 22 Feb 2016 22:58:00 +0000 (15:58 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 23 Feb 2016 15:55:35 +0000 (08:55 -0700)
commit1807806add36327ba1e713c49554b61b2855d5f9
treeb91e7eff55d5b886568e17336c9f374bd118e322
parent190a291b03f799471110f95ae8a4d519d309696d
mesa: use sizeof on the correct type

Before the luminance stride was based on the size of GL_FLOAT
which is just the type constant (0x1406). Change it to use the
size of GLfloat.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/readpix.c