From 8279a357f6f35d58a4c81d84c3c44a7da687b170 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 4 Aug 2022 23:35:13 +0200 Subject: Fix most warnings --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 1e5e556..97aaa27 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,12 +83,12 @@ int main() { raytracing_pass->set_pipeline("compute"); watcher::watch_file(std::filesystem::path("../shaders/compute.comp"), [&]() { - LPSTR cmd_line = "glslc.exe --target-env=vulkan1.2 -std=460 ../shaders/compute.comp -o shaders/compute.comp.spv -I \"../shaders/include\"\0"; + LPCSTR app_name = "glslc.exe --target-env=vulkan1.2 -std=460 ../shaders/compute.comp -o shaders/compute.comp.spv -I \"../shaders/include\"\0"; STARTUPINFO start_info {}; PROCESS_INFORMATION proc_info {}; if (FAILED(CreateProcessA( + app_name, nullptr, - cmd_line, nullptr, nullptr, FALSE, -- cgit v1.3