diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-16 09:34:35 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-16 09:34:35 -0600 |
commit | 3e48dd04456aaf2d42dfa7f3a3c99a95a5986eb6 (patch) | |
tree | 1674b8d4870372b2636c365842ee3615a860d869 /src/gallium | |
parent | ed7f4b42307bff4633689d6781cd3643f10041e5 (diff) |
mesa: fix incorrect viewport clamping in _mesa_set_viewport()
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one.
The error checking earlier in the function prevents negative values.
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions