core: Change type of DmaBufAttributes::{pitch,offset}

Change it to uint32_t[] to match drmModeAddFB() API.
This commit is contained in:
Vlad Zahorodnii 2023-06-03 11:33:57 +03:00
parent b98f68d581
commit f579b073c9

View file

@ -24,8 +24,8 @@ struct DmaBufAttributes
uint64_t modifier = 0;
FileDescriptor fd[4];
int offset[4] = {0, 0, 0, 0};
int pitch[4] = {0, 0, 0, 0};
uint32_t offset[4] = {0, 0, 0, 0};
uint32_t pitch[4] = {0, 0, 0, 0};
};
struct ShmAttributes