Refactor app creation for better iOS support
This commit is contained in:
@@ -95,7 +95,12 @@ public:
|
||||
void Close() override{}
|
||||
};
|
||||
|
||||
std::unique_ptr<openVulkanoCpp::IGraphicsApp> CubesExampleApp::Create()
|
||||
openVulkanoCpp::IGraphicsApp* CubesExampleApp::Create()
|
||||
{
|
||||
return new CubesExampleAppImpl();
|
||||
}
|
||||
|
||||
std::unique_ptr<openVulkanoCpp::IGraphicsApp> CubesExampleApp::CreateUnique()
|
||||
{
|
||||
return std::make_unique<CubesExampleAppImpl>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user