diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-25 09:30:26 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-05-25 09:42:55 -0700 |
commit | 89bb4be91e804a5eaa996822333a0c8c5ef423ae (patch) | |
tree | 3d7833c4a6195cf8e7ff6a1a7735bbe735bbdf40 /src/mesa/tnl/t_vb_vertex.c | |
parent | 595224f714d4a6734700d4d22165cb7fa3990238 (diff) |
i965: Fix shadowing of 'height' parameter
The nested declaration of 'height' shadows a parameter and uses
uninitialized memory. Fix by renaming to 'plane_height' which also makes
the code clearer.
This would typically break the bo size computation, but we don't use
that except when mmaping, and we don't mmap YUV buffers much.
Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Reported-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_vb_vertex.c')
0 files changed, 0 insertions, 0 deletions