Skip to content

Commit 4d40b65

Browse files
authored
fix check_command_buffers() (KhronosGroup#1357)
1 parent 37c28c9 commit 4d40b65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/hpp_api_vulkan_sample.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ bool HPPApiVulkanSample::check_command_buffers()
376376
{
377377
for (auto &command_buffer : draw_cmd_buffers)
378378
{
379-
if (command_buffer)
379+
if (!command_buffer)
380380
{
381381
return false;
382382
}

0 commit comments

Comments
 (0)