diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-05-12 17:23:55 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-17 19:47:02 -0600 |
| commit | fc1b02ddb65594ad2de9c6077f3462385cb7f6d8 (patch) | |
| tree | 51f8a4525510702486d2a3ac715b4fb684759692 /layers/draw_state.cpp | |
| parent | 96e7897ebc7804e7e116fcfc9c3f1bf99a1a4f89 (diff) | |
| download | usermoji-fc1b02ddb65594ad2de9c6077f3462385cb7f6d8.tar.xz | |
layers: Use the instance chain for entrypoints with instance
Also add to instance dispatch table CreateInstance and GetGlobalExtensionInfo
Diffstat (limited to 'layers/draw_state.cpp')
| -rwxr-xr-x | layers/draw_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index cedf652b..09bb3ee2 100755 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -2638,7 +2638,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkDbgRegisterMsgCallback(VkInstance instance, VK_ if (g_actionIsDefault) { g_debugAction = VK_DBG_LAYER_ACTION_CALLBACK; } - VkResult result = nextTable.DbgRegisterMsgCallback(instance, pfnMsgCallback, pUserData); + VkResult result = nextInstanceTable.DbgRegisterMsgCallback(instance, pfnMsgCallback, pUserData); return result; } @@ -2664,7 +2664,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkDbgUnregisterMsgCallback(VkInstance instance, V else g_debugAction = (VK_LAYER_DBG_ACTION)(g_debugAction & ~((uint32_t)VK_DBG_LAYER_ACTION_CALLBACK)); } - VkResult result = nextTable.DbgUnregisterMsgCallback(instance, pfnMsgCallback); + VkResult result = nextInstanceTable.DbgUnregisterMsgCallback(instance, pfnMsgCallback); return result; } |
