mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-10 08:10:19 +01:00
dbe: fix byte swapping in SProcDbeSwapBuffers()
The loop forgot to move the SwapInfo pointer, so the same list entry gets swapped over and over again, while the remaining ones get ignored. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1822>
This commit is contained in:
parent
de0aed0543
commit
86244ff36f
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ SProcDbeSwapBuffers(ClientPtr client)
|
|||
* followed by a 1 byte swap action and then 3 pad bytes. We only need
|
||||
* to swap the window information.
|
||||
*/
|
||||
for (i = 0; i < stuff->n; i++) {
|
||||
for (i = 0; i < stuff->n; i++, pSwapInfo++) {
|
||||
swapl(&pSwapInfo->window);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue