summaryrefslogtreecommitdiffstats
path: root/tools/platform
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-08 21:10:30 -0700
committerGitHub <noreply@github.com>2021-04-08 21:10:30 -0700
commit8a71039475212fb1e1a6dd2fd2911d02769637ef (patch)
tree0faa6e773d6b40c3dcbf0eed08217c629f8ebccf /tools/platform
parentd27557d9b770810402a0bf99bcd891c145a1a69d (diff)
Improve robustness of gfx lifetime management. (#1788)
* Improve robustness of gfx lifetime management. * fix clang error * fix clang error * Fix clang warning
Diffstat (limited to 'tools/platform')
-rw-r--r--tools/platform/window.h2
1 files changed, 1 insertions, 1 deletions
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 */, \