passing args to application
This commit is contained in:
@@ -42,10 +42,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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user