wayland: Sync DmaBufAttributes

This commit is contained in:
Vlad Zahorodnii 2022-06-11 11:26:43 +03:00
parent 2761df727d
commit 7ecdbad4f1

View file

@ -16,15 +16,15 @@ class GLTexture;
struct DmaBufAttributes
{
int planeCount;
int width;
int height;
int format;
uint64_t modifier;
int planeCount = 0;
int width = 0;
int height = 0;
uint32_t format = 0;
uint64_t modifier = 0;
int fd[4];
int offset[4];
int pitch[4];
int fd[4] = {-1, -1, -1, -1};
int offset[4] = {0, 0, 0, 0};
int pitch[4] = {0, 0, 0, 0};
};
class KWIN_EXPORT DmaBufTexture