Change include paths and argument type on main functions to ease linux adoption (#307)

This commit is contained in:
Andreas Süßenbach
2019-03-19 15:35:08 +01:00
committed by Markus Tavenrath
parent 3f20016ba9
commit 45590a9bd7
19 changed files with 30 additions and 30 deletions

View File

@@ -21,7 +21,7 @@
static char const* AppName = "DeviceFunctions";
static char const* EngineName = "Vulkan.hpp";
int main(int /*argc*/, char * /*argv[]*/)
int main(int /*argc*/, char ** /*argv*/)
{
try
{

View File

@@ -22,7 +22,7 @@
static char const* AppName = "DispatchLoaderDynamic";
static char const* EngineName = "Vulkan.hpp";
int main(int /*argc*/, char * /*argv[]*/)
int main(int /*argc*/, char ** /*argv*/)
{
try
{

View File

@@ -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;

View File

@@ -29,7 +29,7 @@ static char const* EngineName = "Vulkan.hpp";
// unknow compiler... just ignore the warnings for yourselves ;)
#endif
int main(int /*argc*/, char * /*argv[]*/)
int main(int /*argc*/, char ** /*argv*/)
{
try
{