Commit 1945231b authored by Eric Engestrom's avatar Eric Engestrom
Browse files

egl/x11: fix build with DRI3 disabled

Fixes: 473af0b5

 "egl/x11: deduplicate depth-to-format logic"
Signed-off-by: default avatarEric Engestrom <eric.engestrom@intel.com>
Tested-by: default avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarYogesh Marathe <yogesh.marathe@intel.com>
parent 63b95fb2
......@@ -55,6 +55,9 @@ static EGLBoolean
dri2_x11_swap_interval(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf,
EGLint interval);
uint32_t
dri2_format_for_depth(uint32_t depth);
static void
swrastCreateDrawable(struct dri2_egl_display * dri2_dpy,
struct dri2_egl_surface * dri2_surf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment