summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-10-10 13:58:47 +0200
committerNicolai Hähnle <[email protected]>2017-10-10 13:58:47 +0200
commit4ec2ac11bd277a7eaa7cc506fd88228d05a22cd9 (patch)
tree3a5ca487abca5932b256d90ec930945e7d1f5261
parentbad24395d91737ce2b07cfe567c449271e31988c (diff)
egl/dri: remove old left-overs
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r--src/egl/drivers/dri2/platform_x11_dri3.c2
1 files changed, 0 insertions, 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
@@ -304,8 +304,6 @@ 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);