aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-04-10 17:59:44 -0600
committerChia-I Wu <olv@lunarg.com>2015-04-16 17:48:19 +0800
commitcd3d9f4d4d3f4e352b1233dca765b621e3e28736 (patch)
treefef4a96f5e9f3d9244cdee929867aff35de40928 /layers/mem_tracker.cpp
parentc86ae59d90feacf5f25755cf3daa1bdd8a10eb94 (diff)
downloadusermoji-cd3d9f4d4d3f4e352b1233dca765b621e3e28736.tar.xz
vulkan: Avoid use of reserved underscore-uppercase sequence
- use typedef {enum,struct} VkFoo_ instead of _VkFoo - MAX_ENUM uses the typedefed name instead of the tag name (otherwise it would have double underscore which is also reserved) git-svn-id: https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/vulkan@30132 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'layers/mem_tracker.cpp')
-rw-r--r--layers/mem_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp
index 8ed7e05e..86fd02dc 100644
--- a/layers/mem_tracker.cpp
+++ b/layers/mem_tracker.cpp
@@ -1873,7 +1873,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkWsiX11CreatePresentableImage(VkDevice device, c
loader_platform_thread_lock_mutex(&globalLock);
if (VK_SUCCESS == result) {
// Add image object, then insert the new Mem Object and then bind it to created image
- addObjectInfo(*pImage, VkStructureType__MAX_ENUM, pCreateInfo, sizeof(VK_WSI_X11_PRESENTABLE_IMAGE_CREATE_INFO), "wsi_x11_image");
+ addObjectInfo(*pImage, VkStructureType_MAX_ENUM, pCreateInfo, sizeof(VK_WSI_X11_PRESENTABLE_IMAGE_CREATE_INFO), "wsi_x11_image");
addMemObjInfo(*pMem, NULL);
if (VK_FALSE == updateObjectBinding(*pImage, *pMem)) {
char str[1024];