From cbd4cbe56485de2fe90dfaedc4541e3b8df3a0a0 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 15 Sep 2015 13:37:52 -0600 Subject: [PATCH] loader: Remove windows disable of global optimization. Now that vktrace now longer uses mhook, can reenable global optimize on Windows. --- loader/trampoline.c | 5 ----- 1 file changed, 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( -- 2.34.1