Commit 7ecdbad4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Sync DmaBufAttributes

parent 2761df72
......@@ -16,15 +16,15 @@ class GLTexture;
struct DmaBufAttributes
{
int planeCount;
int width;
int height;
int format;
uint64_t modifier;
int fd[4];
int offset[4];
int pitch[4];
int planeCount = 0;
int width = 0;
int height = 0;
uint32_t format = 0;
uint64_t modifier = 0;
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment