summaryrefslogtreecommitdiff
path: root/present/present.c
diff options
context:
space:
mode:
authorXaver Hugl <xaver.hugl@gmail.com>2022-10-17 16:31:05 +0200
committerXaver Hugl <xaver.hugl@gmail.com>2023-06-19 12:19:31 +0200
commit2adc5c45c1126fc26fb757ddf5b9df5fd0d907eb (patch)
tree83766c3d8a0a06cbf4c56c1cc0ac210b9c2bd987 /present/present.c
parentc6bf0e3950592b4b7c0ed53f5bd48ffa0fc54dff (diff)
present: add support for PresentOptionAsyncMayTear
Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com> Acked-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'present/present.c')
-rw-r--r--present/present.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/present/present.c b/present/present.c
index 271fe32bc..211868341 100644
--- a/present/present.c
+++ b/present/present.c
@@ -157,7 +157,7 @@ present_get_target_msc(uint64_t target_msc_arg,
uint64_t remainder,
uint32_t options)
{
- const Bool synced_flip = !(options & PresentOptionAsync);
+ const Bool synced_flip = !(options & PresentAllAsyncOptions);
uint64_t target_msc;
/* If the specified target-msc lies in the future, then this