diff --git a/clients/presentation-shm.c b/clients/presentation-shm.c index a212eec1..4cbd0934 100644 --- a/clients/presentation-shm.c +++ b/clients/presentation-shm.c @@ -344,7 +344,10 @@ pflags_to_str(uint32_t flags, char *str, unsigned len) uint32_t flag; char sym; } desc[] = { - { 1, '1' }, /* dummy placeholder */ + { PRESENTATION_FEEDBACK_KIND_VSYNC, 's' }, + { PRESENTATION_FEEDBACK_KIND_HW_CLOCK, 'c' }, + { PRESENTATION_FEEDBACK_KIND_HW_COMPLETION, 'e' }, + { PRESENTATION_FEEDBACK_KIND_ZERO_COPY, 'z' }, }; unsigned i; diff --git a/tests/presentation-test.c b/tests/presentation-test.c index 59cca8e1..421eddc1 100644 --- a/tests/presentation-test.c +++ b/tests/presentation-test.c @@ -165,7 +165,10 @@ pflags_to_str(uint32_t flags, char *str, unsigned len) uint32_t flag; char sym; } desc[] = { - { 1, '1' }, /* dummy placeholder */ + { PRESENTATION_FEEDBACK_KIND_VSYNC, 's' }, + { PRESENTATION_FEEDBACK_KIND_HW_CLOCK, 'c' }, + { PRESENTATION_FEEDBACK_KIND_HW_COMPLETION, 'e' }, + { PRESENTATION_FEEDBACK_KIND_ZERO_COPY, 'z' }, }; unsigned i;