diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-24 18:18:17 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-24 18:18:17 -0700 |
commit | 47d30b0c2c36f952cc14deefb9f937f1b0a9b531 (patch) | |
tree | 76a4234ff1125d0c955b11086d374cc112d03c57 /docs/RELNOTES-6.3.1 | |
parent | e88d6fe299cb43eedfae7f0fa3bb14c8086a8cd4 (diff) |
st/mesa: fix int->uint conversion for negative scissor bound values
Based on a patch by Xavier Chantry <chantry.xavier@gmail.com>:
If x+width or y+height is negative, then maxx or maxy will get a bogus value
when converting that to unsigned. Fix this by setting 0 as minimal value.
This was also triggered by teeworlds, but only with some combination of
resolution and map section. For example upper part of dm2 at 1280x1024.
Diffstat (limited to 'docs/RELNOTES-6.3.1')
0 files changed, 0 insertions, 0 deletions