diff options
author | Brian Paul <[email protected]> | 2012-03-07 08:13:38 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-07 08:17:20 -0700 |
commit | 6c1dea54457c1d19b67794f188c40c74c23ba762 (patch) | |
tree | 2cd22758c792aee237be95dc537c15dfd5c980c5 /src/getopt | |
parent | 4f869e9cb5bdef818110d82668bd46eb6c7b5766 (diff) |
mesa: handle array textures in strip_texture_border()
If the texture is a 1D array, don't remove the border pixel from the
height. Similarly for 2D array textures and the depth direction.
Simplify the function by assuming the border is always one pixel.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions