[Mesa-dev] [PATCH 4/6] egl/dri: remove old left-overs
Nicolai Hähnle
nhaehnle at gmail.com
Fri Oct 6 20:16:06 UTC 2017
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/egl/drivers/dri2/platform_x11_dri3.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_x11_dri3.c b/src/egl/drivers/dri2/platform_x11_dri3.c
index 45bb56ca17e..eadd37141e0 100644
--- a/src/egl/drivers/dri2/platform_x11_dri3.c
+++ b/src/egl/drivers/dri2/platform_x11_dri3.c
@@ -297,22 +297,20 @@ dri3_create_image_khr_pixmap(_EGLDisplay *disp, _EGLContext *ctx,
free(bp_reply);
return &dri2_img->base;
}
static _EGLImage *
dri3_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,
_EGLContext *ctx, EGLenum target,
EGLClientBuffer buffer, const EGLint *attr_list)
{
- (void) drv;
-
switch (target) {
case EGL_NATIVE_PIXMAP_KHR:
return dri3_create_image_khr_pixmap(disp, ctx, buffer, attr_list);
default:
return dri2_create_image_khr(drv, disp, ctx, target, buffer, attr_list);
}
}
/**
* Called by the driver when it needs to update the real front buffer with the
--
2.11.0
More information about the mesa-dev
mailing list