diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-06-04 23:14:56 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-06-04 23:14:56 +0200 |
commit | 6256925b1147391fdc62389a3349dec1392df31e (patch) | |
tree | edb13abb70412e8cb4296d018243599f3bc7ae0c /src/gallium/auxiliary | |
parent | 4a03d378270cdacadb5e519378f2f26f4bed06c0 (diff) |
Revert "vl: Enable DRM by default."
Reason:
meson.build:586:7: ERROR: Unknown variable "dep_libdrm".
if building without x11 platform.
This reverts commit 392c60928a5debbe6782ed1aa136597504bfbc5b.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build index 668f6c09e01..e76b2ac912e 100644 --- a/src/gallium/auxiliary/meson.build +++ b/src/gallium/auxiliary/meson.build @@ -490,7 +490,7 @@ if with_dri2 and with_platform_x11 files_libgalliumvlwinsys += files('vl/vl_winsys_dri3.c') endif endif -if dep_libdrm.found() +if with_platform_drm files_libgalliumvlwinsys += files('vl/vl_winsys_drm.c') endif diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h index 322de72487a..3a35cb6a859 100644 --- a/src/gallium/auxiliary/vl/vl_winsys.h +++ b/src/gallium/auxiliary/vl/vl_winsys.h @@ -92,7 +92,7 @@ static inline struct vl_screen * vl_dri3_screen_create(void *display, int screen) { return NULL; }; #endif -#ifdef HAVE_LIBDRM +#ifdef HAVE_DRM_PLATFORM struct vl_screen * vl_drm_screen_create(int fd); #else |