summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2019-02-19 15:30:41 +0000
committerEmil Velikov <[email protected]>2019-02-26 11:07:23 +0000
commitd9d1cb43d7e28b62a3993f3cd4b7dd0972892006 (patch)
treee4287d598b229d26c90ded336649663f8d57bde6
parent02344fe80bcbca537d26b2101c7873f9793e3476 (diff)
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 <[email protected]>
-rw-r--r--src/egl/drivers/dri2/platform_android.c2
1 files changed, 1 insertions, 1 deletions
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;