egl: android: drop dri2_create_image_android_native_buffer argument
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 11:42:54 +0000 (12:42 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 May 2016 11:07:47 +0000 (12:07 +0100)
The drv is no longer used/needed as of last commit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
src/egl/drivers/dri2/platform_android.c

index 9f0f133087eb936a024827ba24aa6210039b3403..fc9cd683d00d051d37d8925ab3a24f830089ada2 100644 (file)
@@ -449,7 +449,7 @@ droid_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw)
 }
 
 static _EGLImage *
-dri2_create_image_android_native_buffer(_EGLDriver *drv, _EGLDisplay *disp,
+dri2_create_image_android_native_buffer(_EGLDisplay *disp,
                                         _EGLContext *ctx,
                                         struct ANativeWindowBuffer *buf)
 {
@@ -542,7 +542,7 @@ droid_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,
 {
    switch (target) {
    case EGL_NATIVE_BUFFER_ANDROID:
-      return dri2_create_image_android_native_buffer(drv, disp, ctx,
+      return dri2_create_image_android_native_buffer(disp, ctx,
             (struct ANativeWindowBuffer *) buffer);
    default:
       return dri2_create_image_khr(drv, disp, ctx, target, buffer, attr_list);