instance: rename create_info as create_info_t
This commit is contained in:
parent
3d2229ea93
commit
d1de7478b3
10
instance.cpp
10
instance.cpp
@ -39,25 +39,25 @@ static const VkInstanceCreateInfo DEFAULT_INFO = {
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
instance::create_info::create_info ():
|
||||
create_info (DEFAULT_INFO)
|
||||
instance::create_info_t::create_info_t ():
|
||||
create_info_t (DEFAULT_INFO)
|
||||
{ ; }
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
instance::create_info::create_info (const VkInstanceCreateInfo &base):
|
||||
instance::create_info_t::create_info_t (const VkInstanceCreateInfo &base):
|
||||
VkInstanceCreateInfo (base)
|
||||
{ ; }
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
instance::instance ():
|
||||
instance (create_info ())
|
||||
instance (create_info_t ())
|
||||
{ ; }
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
instance::instance (const create_info &info):
|
||||
instance::instance (const create_info_t &info):
|
||||
instantiated (&info, nullptr)
|
||||
{ ; }
|
||||
|
||||
|
@ -28,13 +28,13 @@
|
||||
|
||||
namespace cruft::vk {
|
||||
struct instance : public instantiated<instance> {
|
||||
struct create_info : public VkInstanceCreateInfo {
|
||||
create_info ();
|
||||
create_info (const VkInstanceCreateInfo&);
|
||||
struct create_info_t : public VkInstanceCreateInfo {
|
||||
create_info_t ();
|
||||
create_info_t (const VkInstanceCreateInfo&);
|
||||
};
|
||||
|
||||
instance ();
|
||||
instance (const create_info &info);
|
||||
instance (const create_info_t &info);
|
||||
|
||||
std::set<std::string> extensions (void) const;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user