Change include paths and argument type on main functions to ease linux adoption (#307)
This commit is contained in:
committed by
Markus Tavenrath
parent
3f20016ba9
commit
45590a9bd7
@@ -24,7 +24,7 @@
|
||||
static char const* AppName = "DeviceFunctions";
|
||||
static char const* EngineName = "Vulkan.hpp";
|
||||
|
||||
int main(int /*argc*/, char * /*argv[]*/)
|
||||
int main(int /*argc*/, char ** /*argv*/)
|
||||
{
|
||||
vk::ApplicationInfo appInfo(AppName, 1, EngineName, 1, VK_API_VERSION_1_1);
|
||||
vk::UniqueInstance instance = vk::createInstanceUnique(vk::InstanceCreateInfo({}, &appInfo)).value;
|
||||
|
||||
Reference in New Issue
Block a user