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>
dev
Daniel Stone 7 years ago
parent fa6069adca
commit 3a80ca0629
  1. 4
      clients/simple-dmabuf-drm.c

@ -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…
Cancel
Save