From 8a704cf76a663446cb25278097d3e3a4bbbfca30 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 12 Jun 2023 17:44:21 +0200 Subject: vrend/egl: Fix compilation in case minigbm_allocations is enabled Fixes: fbe43dae8b0bb17e283aecb084a3442e2e04709d egl: refactor EGL extensions initialization Signed-off-by: Gert Wollny Part-of: --- src/vrend_winsys_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vrend_winsys_egl.c b/src/vrend_winsys_egl.c index e5fcbe9..7c53a15 100644 --- a/src/vrend_winsys_egl.c +++ b/src/vrend_winsys_egl.c @@ -223,7 +223,7 @@ static EGLint virgl_egl_find_matching_device(struct gbm_device_info *dev_infos, return -1; } -static EGLDeviceEXT virgl_egl_get_device(struct virgl_egl *egl, struct egl_funcs *funcs) { +static EGLDeviceEXT virgl_egl_get_device(struct virgl_egl *egl) { EGLint num_devices = 0; EGLint max_devices = 64; EGLDeviceEXT devices[64]; -- cgit v1.2.3