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:
@@ -62,6 +62,10 @@
|
|||||||
#include "fullscreen-shell-unstable-v1-client-protocol.h"
|
#include "fullscreen-shell-unstable-v1-client-protocol.h"
|
||||||
#include "linux-dmabuf-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;
|
struct buffer;
|
||||||
|
|
||||||
/* Possible options that affect the displayed image */
|
/* Possible options that affect the displayed image */
|
||||||
|
|||||||
Reference in New Issue
Block a user