Skip to content

Commit

Permalink
Merge branch 'master' into vsgExamples-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Jul 26, 2023
2 parents 1524ef1 + 1dd260b commit 8dff4b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project(vsgExamples
LANGUAGES CXX C
)

SET(VSGEXAMPLES_RELEASE_CANDIDATE 1)
SET(VSGEXAMPLES_RELEASE_CANDIDATE 0)

# build all examples into the bin directory
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
Expand Down
8 changes: 4 additions & 4 deletions examples/app/vsgdeviceselection/vsgdeviceselection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ int main(int argc, char** argv)


// list the queue properties
auto& queuFamilyProperties = physicalDevice->getQueueFamilyProperties();
std::cout<<" QueueFamilyProperties "<<queuFamilyProperties.size()<<std::endl;
for(size_t qfp = 0; qfp < queuFamilyProperties.size(); ++qfp)
auto& queueFamilyProperties = physicalDevice->getQueueFamilyProperties();
std::cout<<" QueueFamilyProperties "<<queueFamilyProperties.size()<<std::endl;
for(size_t qfp = 0; qfp < queueFamilyProperties.size(); ++qfp)
{
auto& prop = queuFamilyProperties[qfp];
auto& prop = queueFamilyProperties[qfp];
std::list<std::string> flags;
if ((prop.queueFlags & VK_QUEUE_GRAPHICS_BIT)) flags.push_back("GRAPHICS");
if ((prop.queueFlags & VK_QUEUE_COMPUTE_BIT)) flags.push_back("COMPUTE");
Expand Down

0 comments on commit 8dff4b1

Please sign in to comment.