wayland: Sync DmaBufAttributes
This commit is contained in:
parent
2761df727d
commit
7ecdbad4f1
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue