projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8256215
)
loader: Remove windows disable of global optimization.
author
Jon Ashburn
<jon@lunarg.com>
Tue, 15 Sep 2015 19:37:52 +0000
(13:37 -0600)
committer
Jon Ashburn
<jon@lunarg.com>
Thu, 17 Sep 2015 21:29:28 +0000
(15:29 -0600)
Now that vktrace now longer uses mhook, can reenable global optimize on Windows.
loader/trampoline.c
patch
|
blob
|
history
diff --git
a/loader/trampoline.c
b/loader/trampoline.c
index 0d13e66095448b77f0b70153bfe3c5092c37cbb1..7ebdfe447eb95bfcd0bf51eb3da63f6ea6810906 100644
(file)
--- 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(