소스 검색

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 년 전
부모
커밋
d9d1cb43d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/egl/drivers/dri2/platform_android.c

+ 1
- 1
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;

Loading…
취소
저장