diff options
author | Gert Wollny <gert.wollny@collabora.com> | 2023-06-12 17:44:21 +0200 |
---|---|---|
committer | Gert Wollny <gert.wollny@collabora.com> | 2023-06-12 19:29:40 +0200 |
commit | 8a704cf76a663446cb25278097d3e3a4bbbfca30 (patch) | |
tree | 5f8e522629e9e830d14c0fcbcd99ac9fa1c0df69 | |
parent | 58853310c3a726b0567c88b7619f477be841c145 (diff) |
vrend/egl: Fix compilation in case minigbm_allocations is enabled
Fixes: fbe43dae8b0bb17e283aecb084a3442e2e04709d
egl: refactor EGL extensions initialization
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1151>
-rw-r--r-- | src/vrend_winsys_egl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |