present: Fix swapping of PresentCompleteNotify events
The code would fall through to the PresentIdleNotify case, and nothing good would come of it. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
cc66777d85
commit
b9f415cbad
|
@ -91,6 +91,7 @@ present_event_swap(xGenericEvent *from, xGenericEvent *to)
|
||||||
swapl(&c->serial);
|
swapl(&c->serial);
|
||||||
swapll(&c->ust);
|
swapll(&c->ust);
|
||||||
swapll(&c->msc);
|
swapll(&c->msc);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case PresentIdleNotify:
|
case PresentIdleNotify:
|
||||||
{
|
{
|
||||||
|
@ -99,6 +100,7 @@ present_event_swap(xGenericEvent *from, xGenericEvent *to)
|
||||||
swapl(&c->window);
|
swapl(&c->window);
|
||||||
swapl(&c->serial);
|
swapl(&c->serial);
|
||||||
swapl(&c->idle_fence);
|
swapl(&c->idle_fence);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user