simple-dmabuf-drm: Fallback DRM_FORMAT_MOD_LINEAR definition
Just in case we're running on something quite old. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
fa6069adca
commit
3a80ca0629
|
@ -62,6 +62,10 @@
|
|||
#include "fullscreen-shell-unstable-v1-client-protocol.h"
|
||||
#include "linux-dmabuf-unstable-v1-client-protocol.h"
|
||||
|
||||
#ifndef DRM_FORMAT_MOD_LINEAR
|
||||
#define DRM_FORMAT_MOD_LINEAR 0
|
||||
#endif
|
||||
|
||||
struct buffer;
|
||||
|
||||
/* Possible options that affect the displayed image */
|
||||
|
|
Loading…
Reference in New Issue