diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/platform_android.c | 2 |
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 9877c49fdd9..ee6c2791b18 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -1437,7 +1437,7 @@ droid_probe_device(_EGLDisplay *disp, int fd, const char *vendor) goto cleanup; } - if (vendor && strncmp(vendor, ver->name, PROPERTY_VALUE_MAX) != 0) { + if (vendor && strcmp(vendor, ver->name) != 0) { ret = probe_filtered_out; goto cleanup; } |