Skip to content

Commit

Permalink
CompositorBuffer: Add initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Jan 15, 2024
1 parent 0bf52a9 commit e2c7a5b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ namespace Compositor {
SharedStorage& operator=(const SharedStorage&) = delete;

SharedStorage()
: _width(0)
, _height(0)
, _format(0)
, _modifier(0)
, _type(Exchange::ICompositionBuffer::TYPE_INVALID)
, _dirty()
, _copyOfDirty()
{
}
SharedStorage(const uint32_t width, const uint32_t height, const uint32_t format, const uint64_t modifier, const Exchange::ICompositionBuffer::DataType type)
Expand Down

0 comments on commit e2c7a5b

Please sign in to comment.