Fix setting the capability flags on the resolutions

2 hours of debugging... ffs

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2019-07-25 15:49:31 +10:00
committed by Filipe Laíns
parent e2cbaf9dea
commit 11c1e2d71a

View File

@@ -571,7 +571,7 @@ ratbag_resolution_set_cap(struct ratbag_resolution *res,
{
assert(cap <= RATBAG_RESOLUTION_CAP_SEPARATE_XY_RESOLUTION);
res->capabilities = (1 << cap);
res->capabilities |= (1 << cap);
}
static inline void