layers: Remove old/unnecessary FIXME from swapchain layer
authorIan Elliott <ianelliott@google.com>
Thu, 8 Sep 2016 17:34:52 +0000 (11:34 -0600)
committerIan Elliott <ianelliott@google.com>
Thu, 8 Sep 2016 17:38:59 +0000 (11:38 -0600)
This FIXME comment does not apply.  It may have applied, if the line being
referred to once copied a pointer to user data, but at this point, the actual
data is being copied into a struct owned by the swapchain layer, which is what
the comment was about.

layers/swapchain.cpp

index 792b063..5aca7f6 100644 (file)
@@ -1389,7 +1389,6 @@ VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysica
         if ((result == VK_SUCCESS) && pPhysicalDevice) {
             // Record the result of this query:
             pPhysicalDevice->gotSurfaceCapabilities = true;
-            // FIXME: NEED TO COPY THIS DATA, BECAUSE pSurfaceCapabilities POINTS TO APP-ALLOCATED DATA
             pPhysicalDevice->surfaceCapabilities = *pSurfaceCapabilities;
         }
         lock.unlock();