ecore_drm2: Pass user data to atomic flip

We need the user_data to come back to us in the flip handler like it does
in the non atomic flip.
This commit is contained in:
Derek Foreman 2017-04-28 14:51:46 -05:00
parent b6f67124e4
commit 9223b0d535
1 changed files with 2 additions and 1 deletions

View File

@ -365,7 +365,8 @@ _fb_atomic_flip(Ecore_Drm2_Output *output)
res =
sym_drmModeAtomicCommit(output->fd,
output->prep.atomic_req, flags, NULL);
output->prep.atomic_req, flags,
output->user_data);
if (res < 0)
{
ERR("Failed Atomic Commit: %m");