From afe0881acf57b7185230601200e1e69df587c88d Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Fri, 22 Mar 2019 19:09:14 -0700 Subject: Initialize amber structures. (#408) This CL adds initializers for the amber::Options and amber::BufferInfo structures. --- include/amber/amber.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/amber/amber.h b/include/amber/amber.h index 8e4b5a3..e0bc794 100644 --- a/include/amber/amber.h +++ b/include/amber/amber.h @@ -42,6 +42,12 @@ enum EngineType { struct EngineConfig {}; struct BufferInfo { + BufferInfo(); + BufferInfo(const BufferInfo&); + ~BufferInfo(); + + BufferInfo& operator=(const BufferInfo&); + /// Holds the buffer name std::string buffer_name; /// Holds the buffer width @@ -68,6 +74,9 @@ class Delegate { }; struct Options { + Options(); + ~Options(); + /// Sets the engine to be created. Default Vulkan. EngineType engine; /// Holds engine specific configuration. Ownership stays with the caller. -- cgit v1.2.3