diff options
author | Brian Paul <[email protected]> | 2012-01-12 09:55:40 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-12 13:02:55 -0700 |
commit | 003dd8adf39c964d8c7beb86955a61ceb3706ebc (patch) | |
tree | a2da1696fe1c05ad09141267e04195d69028817d /src/mesa/main/vtxfmt.c | |
parent | 706400f0a7a59bba89eca8e97a1ada45445ee6df (diff) |
mesa: remove incorrect (float) cast in mipmap do_row()
The array holds GLuint values so remove the float cast.
Note, however, that to compute the average of four GLuints we really
want to do (a+b+c+d)/4 but that could overflow. This change doesn't
address that for now.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
0 files changed, 0 insertions, 0 deletions