diff options
author | Mathias Fröhlich <[email protected]> | 2011-12-01 20:48:10 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2011-12-01 21:44:57 +0100 |
commit | a4c952f36f0c6b55f1410bc678b21f75de253a74 (patch) | |
tree | 7b0b1764f47bda77c821b0cffce8ccb981036a8f /src/mesa/main/enums.c | |
parent | de93347d482a96f88c898622c9620f03e677e386 (diff) |
swrast: Fix signed/unsigned problems with negative strides.
In swrast_map_renderbuffer negative strides lead to
render buffer map pointers that are off by 2^32.
Make sure that intermediate negative values are not
converted to an unsigned.
Signed-off-by: Mathias Froehlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/enums.c')
0 files changed, 0 insertions, 0 deletions