aboutsummaryrefslogtreecommitdiff
path: root/layers/object_tracker.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2016-10-03 12:11:12 -0600
committerIan Elliott <ianelliott@google.com>2016-10-04 12:57:00 -0600
commitb18fddee412ae3b6fe36913613bb3eed23a25c11 (patch)
tree717809daa40d619daadb8607f5d919e19a492de4 /layers/object_tracker.cpp
parentf45686b9b504490eb94f8e4d5ac63bfa07f009fe (diff)
downloadusermoji-b18fddee412ae3b6fe36913613bb3eed23a25c11.tar.xz
cube: demonstrate how to select other VkPresentModeKHR's
This comes from the Khronos-internal discussion of https://github.com/LunarG/VulkanSamples/issues/98. Cube will, by default, choose VK_PRESENT_FIFO_KHR mode. However, when that change was made, the old (example) code was lost that showed how to search for the other present modes. It was also discussed that there isn't good guidance on why an application might want to use a mode other than FIFO. This change adds both of those, but only selects FIFO by default. #ifdef's can be used to select other modes. With that code is a reason why an application might wish to use that present mode.
Diffstat (limited to 'layers/object_tracker.cpp')
0 files changed, 0 insertions, 0 deletions