From cd3d9f4d4d3f4e352b1233dca765b621e3e28736 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 10 Apr 2015 17:59:44 -0600 Subject: 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 --- layers/mem_tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/mem_tracker.cpp') 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]; -- cgit v1.2.3