diff options
Diffstat (limited to 'video/out/wldmabuf/ra_wldmabuf.c')
-rw-r--r-- | video/out/wldmabuf/ra_wldmabuf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/wldmabuf/ra_wldmabuf.c b/video/out/wldmabuf/ra_wldmabuf.c index a3499a25e9..3f2731429a 100644 --- a/video/out/wldmabuf/ra_wldmabuf.c +++ b/video/out/wldmabuf/ra_wldmabuf.c @@ -39,11 +39,6 @@ bool ra_compatible_format(struct ra* ra, uint32_t drm_format, uint64_t modifier) return true; } - for (int i = 0; i < wl->drm_format_ct; i++) { - if (drm_format == wl->drm_formats[i]) - return true; - } - return false; } |