Fix arguments order
This commit is contained in:
parent
8cb4290a4f
commit
fe6dec9934
|
|
@ -42,7 +42,7 @@ int main(int argc, char* argv[])
|
||||||
int WinMain(int argc, char* argv[])
|
int WinMain(int argc, char* argv[])
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
Nz::Application<Nz::Graphics, Nz::Imgui> nazara(argv, argc);
|
Nz::Application<Nz::Graphics, Nz::Imgui> nazara(argc, argv);
|
||||||
auto& windowing = nazara.AddComponent<Nz::AppWindowingComponent>();
|
auto& windowing = nazara.AddComponent<Nz::AppWindowingComponent>();
|
||||||
std::shared_ptr<Nz::RenderDevice> device = Nz::Graphics::Instance()->GetRenderDevice();
|
std::shared_ptr<Nz::RenderDevice> device = Nz::Graphics::Instance()->GetRenderDevice();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ int main(int argc, char* argv[])
|
||||||
int WinMain(int argc, char* argv[])
|
int WinMain(int argc, char* argv[])
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
Nz::Application<Nz::Graphics, Nz::Imgui> nazara(argv, argc);
|
Nz::Application<Nz::Graphics, Nz::Imgui> nazara(argc, argv);
|
||||||
auto& windowing = nazara.AddComponent<Nz::AppWindowingComponent>();
|
auto& windowing = nazara.AddComponent<Nz::AppWindowingComponent>();
|
||||||
std::shared_ptr<Nz::RenderDevice> device = Nz::Graphics::Instance()->GetRenderDevice();
|
std::shared_ptr<Nz::RenderDevice> device = Nz::Graphics::Instance()->GetRenderDevice();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue