summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_misc.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2015-12-11 14:41:30 -0800
committerAnuj Phogat <[email protected]>2016-06-10 14:35:21 -0700
commitf8679badd423b61b3a49e1138445f9f3d740fdde (patch)
tree6c61eea03697697bb3bc5c1b7c709167ca433a45 /src/gallium/auxiliary/os/os_misc.c
parent1584918996f0deb5de0c4759b23d00ce52db37a4 (diff)
mesa: Fix region overlap conditions for rectangles with a shared edge
>From OpenGL 4.0 spec, section 4.3.2 "Copying Pixels": "The pixels corresponding to these buffers are copied from the source rectangle bounded by the locations (srcX0, srcY 0) and (srcX1, srcY 1) to the destination rectangle bounded by the locations (dstX0, dstY 0) and (dstX1, dstY 1). The lower bounds of the rectangle are inclusive, while the upper bounds are exclusive." So, the rectangles sharing just an edge shouldn't overlap. ----------- | | ------- --- | | | | | | ------- --- Cc: "12.0" <[email protected]> Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/os/os_misc.c')
0 files changed, 0 insertions, 0 deletions