From: Emil Velikov Date: Tue, 19 Feb 2019 15:30:41 +0000 (+0000) Subject: egl/android: bump the number of drmDevices to 64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9d1cb43d7e28b62a3993f3cd4b7dd0972892006;p=mesa.git egl/android: bump the number of drmDevices to 64 It's the current maximum supported by the kernel. Stay consistent with the rest of Mesa and use the same number. Signed-off-by: Emil Velikov --- diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index 7e1d61052db..5b530f2ba73 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -1457,7 +1457,7 @@ droid_probe_device(_EGLDisplay *disp) static EGLBoolean droid_open_device(_EGLDisplay *disp) { -#define MAX_DRM_DEVICES 32 +#define MAX_DRM_DEVICES 64 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); drmDevicePtr device, devices[MAX_DRM_DEVICES] = { NULL }; int num_devices;