summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-24 18:18:17 -0700
committerBrian Paul <[email protected]>2010-01-24 18:18:17 -0700
commit47d30b0c2c36f952cc14deefb9f937f1b0a9b531 (patch)
tree76a4234ff1125d0c955b11086d374cc112d03c57 /src/egl
parente88d6fe299cb43eedfae7f0fa3bb14c8086a8cd4 (diff)
st/mesa: fix int->uint conversion for negative scissor bound values
Based on a patch by Xavier Chantry <[email protected]>: 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 'src/egl')
0 files changed, 0 insertions, 0 deletions