Skip to content

Commit

Permalink
Fixed a bug in the transfer queue condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Dec 14, 2022
1 parent 41ee020 commit 3ff9939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/refresh/vkpt/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ init_vulkan()
continue;
qvk.queue_idx_graphics = i;
}
if(supports_transfer && (qvk.queue_idx_transfer < 0 || qvk.queue_idx_graphics == qvk.queue_idx_graphics)) {
if(supports_transfer && (qvk.queue_idx_transfer < 0 || qvk.queue_idx_graphics == qvk.queue_idx_transfer)) {
qvk.queue_idx_transfer = i;
}
}
Expand Down

0 comments on commit 3ff9939

Please sign in to comment.