passing args as params to Nz::Application
This commit is contained in:
parent
37b35051f7
commit
635b9a58bb
|
|
@ -40,10 +40,7 @@ int main(int argc, char* argv[])
|
||||||
int WinMain(int argc, char* argv[])
|
int WinMain(int argc, char* argv[])
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
NazaraUnused(argc);
|
Nz::Application<Nz::Graphics, Nz::Imgui> nazara(argv, argc);
|
||||||
NazaraUnused(argv);
|
|
||||||
|
|
||||||
Nz::Application<Nz::Graphics, Nz::Imgui> nazara;
|
|
||||||
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