diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-16 20:18:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-17 10:27:46 +0100 |
commit | bf86110fc5615bfd1af46e95cf81ac720ecac307 (patch) | |
tree | 84da16f5bbea54894457ac0bf62c4116a540bea3 /include/backend/noop.h | |
parent | b5cefada922c09a06a57ed82e72fdab0b8f4479f (diff) |
render/gbm_allocator: set modifier to INVALID if implicit
When gbm_bo_create is used and the GBM implementation does support
modifiers, gbm_bo_get_modifier may return something other than
DRM_FORMAT_MOD_INVALID. This can cause issues with the rest of the
stack (e.g. EGL or KMS) in case these don't support modifiers.
Instead, force the modifier to INVALID, to make sure no one uses
modifiers.
Diffstat (limited to 'include/backend/noop.h')
0 files changed, 0 insertions, 0 deletions