summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri2.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-03-14 08:32:15 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-03-14 08:32:42 +0000
commit3cc011ae11be6437241c3411bce1935ec0b187f5 (patch)
treef49b4685183d33d82b4f3a6edb8cd8e0ae2ba01b /src/sna/sna_dri2.c
parentba85e22c14ed243826d3edf35dd3813d23708d89 (diff)
sna: Avoid double-skipping when deleting arrays of CRTCs
When we call xf86CrtcDestroy/xf86OutputDestroy the arrays are shrunk and the next pointer is then at the current location, so we need to take a step back when iterating over the entire array. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri2.c')
0 files changed, 0 insertions, 0 deletions