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 <emil.velikov@collabora.com>tags/19.1-branchpoint
static EGLBoolean | static EGLBoolean | ||||
droid_open_device(_EGLDisplay *disp) | 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); | struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); | ||||
drmDevicePtr device, devices[MAX_DRM_DEVICES] = { NULL }; | drmDevicePtr device, devices[MAX_DRM_DEVICES] = { NULL }; | ||||
int num_devices; | int num_devices; |