From 75371d2c8845c09e77b97dc91bbd536ccc0eb3ab Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 29 Jan 2019 19:33:38 +0100 Subject: Require libdrm >= 2.4.95 --- render/gles2/texture.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'render/gles2') diff --git a/render/gles2/texture.c b/render/gles2/texture.c index d035841e..5f982e2c 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -1,13 +1,14 @@ #include +#include #include #include #include #include #include #include -#include #include #include +#include #include #include #include "glapi.h" @@ -239,10 +240,6 @@ struct wlr_texture *wlr_gles2_texture_from_wl_drm(struct wlr_egl *egl, return &texture->wlr_texture; } -#ifndef DRM_FORMAT_BIG_ENDIAN -#define DRM_FORMAT_BIG_ENDIAN 0x80000000 -#endif - struct wlr_texture *wlr_gles2_texture_from_dmabuf(struct wlr_egl *egl, struct wlr_dmabuf_attributes *attribs) { if (!wlr_egl_is_current(egl)) { -- cgit v1.2.3