Skip to content

Commit e688d9b

Browse files
CompositorBuffer: Add initialization
1 parent 0bf52a9 commit e688d9b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Source/compositorbuffer/include/compositorbuffer/CompositorBufferType.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ namespace Compositor {
6868
SharedStorage& operator=(const SharedStorage&) = delete;
6969

7070
SharedStorage()
71+
: _width(0)
72+
, _height(0)
73+
, _format(0)
74+
, _modifier(0)
75+
, _type(Exchange::ICompositionBuffer::TYPE_INVALID)
76+
, _dirty()
77+
, _copyOfDirty(false)
7178
{
7279
}
7380
SharedStorage(const uint32_t width, const uint32_t height, const uint32_t format, const uint64_t modifier, const Exchange::ICompositionBuffer::DataType type)

0 commit comments

Comments
 (0)