Skip to content
Snippets Groups Projects
Commit d7bea557 authored by Eric Engestrom's avatar Eric Engestrom :no_entry: Committed by Dylan Baker
Browse files

egl: fix libdrm-less builds


This function was never used, and isn't properly guarded by HAVE_LIBDRM,
breaking the build on systems that don't have libdrm.

Let's just remove it.

Fixes: 7552fcb7 "egl: add base EGL_EXT_device_base implementation"
Reported-by: default avatarTimo Aaltonen <tjaalton@debian.org>
Signed-off-by: default avatarEric Engestrom <eric.engestrom@intel.com>
Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit bcc4bfc8)
parent 503746b1
No related branches found
No related tags found
No related merge requests found
......@@ -202,18 +202,6 @@ _eglDeviceSupports(_EGLDevice *dev, _EGLDeviceExtension ext)
};
}
/* Ideally we'll have an extension which passes the render node,
* instead of the card one + magic.
*
* Then we can move this in _eglQueryDeviceStringEXT below. Until then
* keep it separate.
*/
const char *
_eglGetDRMDeviceRenderNode(_EGLDevice *dev)
{
return dev->device->nodes[DRM_NODE_RENDER];
}
EGLBoolean
_eglQueryDeviceAttribEXT(_EGLDevice *dev, EGLint attribute,
EGLAttrib *value)
......
......@@ -68,9 +68,6 @@ typedef enum _egl_device_extension _EGLDeviceExtension;
EGLBoolean
_eglDeviceSupports(_EGLDevice *dev, _EGLDeviceExtension ext);
const char *
_eglGetDRMDeviceRenderNode(_EGLDevice *dev);
EGLBoolean
_eglQueryDeviceAttribEXT(_EGLDevice *dev, EGLint attribute,
EGLAttrib *value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment