From 879cb2715527f8eed385972d27c569cce0f683e1 Mon Sep 17 00:00:00 2001 From: Pierre EVEN Date: Fri, 2 Apr 2021 12:25:22 +0200 Subject: [PATCH] removed console --- Sources/SuperPacker/Private/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/SuperPacker/Private/Main.cpp b/Sources/SuperPacker/Private/Main.cpp index 289fdf5..2f53cb3 100644 --- a/Sources/SuperPacker/Private/Main.cpp +++ b/Sources/SuperPacker/Private/Main.cpp @@ -6,10 +6,10 @@ #include #include "logger.h" -//int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) -int main(int argc, char** argv) +int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) +//int main(int argc, char** argv) { - std::filesystem::current_path(std::filesystem::path(argv[0]).parent_path()); + std::filesystem::current_path(std::filesystem::path(__argv[0]).parent_path()); OpenGLContext::Init();