Fix annotations for WinMain

This commit is contained in:
Sascha Willems 2024-09-05 21:51:57 +02:00
parent dc0f1c71cc
commit 5144cb8a99

View file

@ -22,7 +22,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
} \ } \
return (DefWindowProc(hWnd, uMsg, wParam, lParam)); \ return (DefWindowProc(hWnd, uMsg, wParam, lParam)); \
} \ } \
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) \ int APIENTRY WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR, _In_ int) \
{ \ { \
for (int32_t i = 0; i < __argc; i++) { VulkanExample::args.push_back(__argv[i]); }; \ for (int32_t i = 0; i < __argc; i++) { VulkanExample::args.push_back(__argv[i]); }; \
vulkanExample = new VulkanExample(); \ vulkanExample = new VulkanExample(); \