From 8a71039475212fb1e1a6dd2fd2911d02769637ef Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Apr 2021 21:10:30 -0700 Subject: Improve robustness of gfx lifetime management. (#1788) * Improve robustness of gfx lifetime management. * fix clang error * fix clang error * Fix clang warning --- tools/platform/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/platform') diff --git a/tools/platform/window.h b/tools/platform/window.h index 884f28b0d..65e0508b6 100644 --- a/tools/platform/window.h +++ b/tools/platform/window.h @@ -244,7 +244,7 @@ public: # define GFX_DUMP_LEAK # endif # define PLATFORM_UI_MAIN(APPLICATION_ENTRY) \ - int __stdcall WinMain( \ + int __stdcall wWinMain( \ void* /*instance*/, \ void* /* prevInstance */, \ void* /* commandLine */, \ -- cgit v1.2.3