diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-09-15 13:37:52 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-09-17 15:29:28 -0600 |
| commit | cbd4cbe56485de2fe90dfaedc4541e3b8df3a0a0 (patch) | |
| tree | 186d3d3b9d2050e7366450526afb5b28a9c8862a | |
| parent | 82562158b13a295bb27e405da58452225ff74813 (diff) | |
| download | usermoji-cbd4cbe56485de2fe90dfaedc4541e3b8df3a0a0.tar.xz | |
loader: Remove windows disable of global optimization.
Now that vktrace now longer uses mhook, can reenable global optimize on Windows.
| -rw-r--r-- | loader/trampoline.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/loader/trampoline.c b/loader/trampoline.c index 0d13e660..7ebdfe44 100644 --- a/loader/trampoline.c +++ b/loader/trampoline.c @@ -30,11 +30,6 @@ #include "debug_report.h" #include "wsi_swapchain.h" -#if defined(WIN32) -// On Windows need to disable global optimization for function entrypoints or -// else mhook will not be able to hook all of them -#pragma optimize( "g", off ) -#endif /* Trampoline entrypoints */ LOADER_EXPORT VkResult VKAPI vkCreateInstance( |
