Skip to content
Snippets Groups Projects
Commit 3193ab58 authored by Leandro Ribeiro's avatar Leandro Ribeiro
Browse files

backend-drm: simplify compile time array copy


In drm_fb_get_from_dmabuf() we have some compile time array copies, and
multiple static_assert() calls are needed (for safety). This makes the
code unpleasant to read.

Add ARRAY_COPY macro, to simplify the code.

Signed-off-by: default avatarLeandro Ribeiro <leandro.ribeiro@collabora.com>
parent bdb37b30
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment