Browse Source

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 <emil.velikov@collabora.com>
tags/19.1-branchpoint
Emil Velikov 6 years ago
parent
commit
d9d1cb43d7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/egl/drivers/dri2/platform_android.c

+ 1
- 1
src/egl/drivers/dri2/platform_android.c View File

@@ -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;

Loading…
Cancel
Save